Reputation: 41
I am trying 4.0.0 Alpha1. When I tried to run FactorialServer example, I found in method BigIntegerDecoder.decode, in.readableBytes() always return 0. After I debug, I found in
public void inboundBufferUpdated(ChannelHandlerContext ctx, ByteBuf in) throws Exception {
callDecode(ctx, in, ctx.nextOutboundByteBuffer());
}
should it be?
public void inboundBufferUpdated(ChannelHandlerContext ctx, ByteBuf in) throws Exception {
callDecode(ctx, in, ctx.nextInboundByteBuffer());
}
Upvotes: 1
Views: 157