netty5/codec/src
Trustin Lee 720faa4df1 Do not suppress channelReadComplete() when a handler was just added
Related:
- 27a25e29f7

Motivation:

The commit mentioned above introduced a regression where
channelReadComplete() event is swallowed by a handler which was added
dynamically.

Modifications:

Do not suppress channelReadComplete() if the current handler's
channelRead() method was not invoked at all, so that a just-added
handler does not suppress channelReadComplete().

Result:

Regression is gone, and channelReadComplete() is invoked when necessary.
2015-02-07 23:09:07 +09:00
..
main/java/io/netty/handler/codec Do not suppress channelReadComplete() when a handler was just added 2015-02-07 23:09:07 +09:00
test Ensure channelReadComplete() is called only when necessary 2015-02-07 16:13:56 +09:00