Uploaded image for project: 'JBoss Marshalling'
  1. JBoss Marshalling
  2. JBMAR-96

Exception should not be thrown on NioByteInput.push()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.3.0.CR1
    • None
    • Marshalling API
    • None

    Description

      Because a close on a ByteInput can happen asynchronously, there's no point in throwing an exception if a buffer can't be accepted. Instead, just return the buffer (if there's a buffer return), but don't acknowledge since this could cause a rapid CPU cycle on the sending side.

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: