netty5/codec-http/src
Norman Maurer d63bb4811e Only call ctx.fireChannelReadComplete() if ByteToMessageDecoder decoded at least one message.
Motivation:

Its wasteful and also confusing that channelReadComplete() is called even if there was no message forwarded to the next handler.

Modifications:

- Only call ctx.fireChannelReadComplete() if at least one message was decoded
- Add unit test

Result:

Less confusing behavior. Fixes [#4312].
2017-08-04 10:54:56 +02:00
..
main/java/io/netty/handler/codec Only call ctx.fireChannelReadComplete() if ByteToMessageDecoder decoded at least one message. 2017-08-04 10:54:56 +02:00
test Fix flacky multipart test introduced by 08748344d8. 2017-07-21 14:28:32 +02:00