Pass the right ByteBuf to the decode(..) method. See #459
This commit is contained in:
parent
00106b367c
commit
3447e87112
@ -23,7 +23,7 @@ public abstract class ByteToByteDecoder extends ChannelInboundByteHandlerAdapter
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void inboundBufferUpdated(ChannelHandlerContext ctx, ByteBuf in) throws Exception {
|
public void inboundBufferUpdated(ChannelHandlerContext ctx, ByteBuf in) throws Exception {
|
||||||
callDecode(ctx, in, ctx.nextOutboundByteBuffer());
|
callDecode(ctx, in, ctx.nextInboundByteBuffer());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user