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

Exception should not be thrown on NioByteInput.push()

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: