netty5/handler/src/main
Norman Maurer 253cd694ef Ensure we not leave data in the BIO when error happens.
Motivation:

We need to ensure we consume all pending data in the BIO on error to correctly send the close notify for the remote peer.

Modifications:

Correctly force the user to call wrap(...) if there is something left in the BIO.

Result:

close_notify is not lost.
2015-12-17 12:40:19 +09:00
..
java/io/netty/handler Ensure we not leave data in the BIO when error happens. 2015-12-17 12:40:19 +09:00