https://issues.apache.org/bugzilla/show_bug.cgi?id=48746
Jesse Glick <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #10 from Jesse Glick <[email protected]> 2010-05-28 12:34:56 EDT --- Caused by PumpStreamHandler.finish interrupting the thread, which can cause a listener based on java.nio.channel to abruptly terminate with a ClosedByInterruptException. I think somehow timing-dependent; the extra waiting for output caused by useAvailable probably causes the pumper thread to hit the JOIN_TIMEOUT, thus falling through to the backup behavior of interrupting it until it dies. Workaround on listener side is to forcibly clear the thread interrupt status immediately before writing to the channel. Still subject to a race condition but seems to work. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
