Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-434

Make wakeupReads and wakeWrites invoke listener in closed channels (XNIO-427 Breaks wakeup calls contract)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.8.16.Final
    • None
    • None
    • None

      The contract (javadoc) describes that "wakes up calls" even if not readable/writable (see SuspendableWriteChannel and SuspendableReadChannel class files for that). The fix for XNIO-427 broke that contract, because it resulted in the listener call being skipped if reads/writes are shutdown, and this caused some regressions in Undertow.
      I am reverting it, and I am moving the fix of the issue described in XNIO-427 to JBoss Remoting, where it belongs.

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: