Outbound bridge is flushed only when its handler also implements ChannelInboundHandler
- Fixes #1056
This commit is contained in:
parent
ee58de0698
commit
60ee9460a9
@ -1315,7 +1315,7 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements
|
|||||||
}
|
}
|
||||||
|
|
||||||
ChannelOperationHandler handler = (ChannelOperationHandler) handler();
|
ChannelOperationHandler handler = (ChannelOperationHandler) handler();
|
||||||
if (handler instanceof ChannelInboundHandler) {
|
if (handler instanceof ChannelOutboundHandler) {
|
||||||
flushOutboundBridge();
|
flushOutboundBridge();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user