Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0-beta3
-
None
Description
At the moment we call Channel.close(); to close the channel. This will close the channel without make sure that all currently queued message are flushed out to the client.
This can lead to some strange side effects as we may not write all data for the response out to the client before doing so.
See:
http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Flush-channel-before-close-td5634777.html
http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-behavior-when-disconnecting-a-channel-td5861795.html#a5862024