This is similar to http://issues.apache.org/jira/browse/DIRMINA-412
but from a different cause.

DatagramAcceptorDelegate.flush() calls
                int localWrittenBytes = ch.send(buf.buf(), destination);
which can throw IO Exceptions
e.g. Network is no longer connected (pulling the ethernet cable
locally or disabling the network adapter)

However the WriteFuture is never notified via setWritten(false) that
the write failed.
The only call to setWritten(false) is within
AbstractIoFilterChain.callPreviousFilterWrite() - invoked by
filterWrite()

The exception thrown is being handled via exceptionCaught() but these
methods do not have the access WriteFuture.

Have I missed something?

Reply via email to