netty5/codec-http/src
Norman Maurer 398efb1f71 Ensure valid message sequence if channel is closed before receive headers.
Motivation:

When the channel is closed while we still decode the headers we currently not preserve correct message sequence. In this case we should generate an invalid message with a current cause.

Modifications:

Create an invalid message with a PrematureChannelClosureException as cause when the channel is closed while we decode the headers.

Result:

Correct message sequence preserved and correct DecoderResult if the channel is closed while decode headers.
2016-06-09 22:42:46 +02:00
..
main/java/io/netty/handler/codec Ensure valid message sequence if channel is closed before receive headers. 2016-06-09 22:42:46 +02:00
test Ensure valid message sequence if channel is closed before receive headers. 2016-06-09 22:42:46 +02:00