8c9f097666
When the output is shutdown, field _cannotAcceptMoreAppDataToFlush is set to true, indicating that no more flush() calls are accepted. However, a further call to flush() was reading _cannotAcceptMoreAppDataToFlush and just returning false, leaving writes in pending state but without chance to be completed. Now, if we detect _cannotAcceptMoreAppDataToFlush==true in flush(), we check whether the output was shutdown; if it is the case, we throw an EofException to signal to the application that it cannot write because the connection is already closed. |
||
---|---|---|
.. | ||
src | ||
pom.xml |