Outbound bridge is flushed only when its handler also implements ChannelInboundHandler

- Fixes #1056
This commit is contained in:
Trustin Lee 2013-02-15 16:24:59 -08:00
parent ee58de0698
commit 60ee9460a9

View File

@ -1315,7 +1315,7 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements
}
ChannelOperationHandler handler = (ChannelOperationHandler) handler();
if (handler instanceof ChannelInboundHandler) {
if (handler instanceof ChannelOutboundHandler) {
flushOutboundBridge();
}