Revert "[#1058] Fix incorrect logic to detect if ChannelHandlerContext is writable"
This reverts commit 3acb22c38c
.
This commit is contained in:
parent
fada776756
commit
03b7b2d297
@ -1555,11 +1555,11 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements
|
||||
DefaultChannelHandlerContext ctx = prev;
|
||||
for (;;) {
|
||||
if (ctx.hasOutboundByteBuffer()) {
|
||||
return ctx.outboundByteBuffer().isWritable();
|
||||
return ctx.isWritable();
|
||||
}
|
||||
|
||||
if (ctx.hasOutboundMessageBuffer()) {
|
||||
return ctx.outboundMessageBuffer().isWritable();
|
||||
return ctx.isWritable();
|
||||
}
|
||||
ctx = ctx.prev;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user