haijunzou1985
Results
1
comments of
haijunzou1985
那这次请求,是没有返回的,客户端直接报异常?解析不出请求,break了(NotEnoughDataException)。这个框架,是不是没有拆包,粘包的解决方案? public void channelRead0(ChannelHandlerContext ctx, Object in) throws Exception { ChannelInfo channelInfo = ChannelInfo.getServerChannelInfo(ctx.channel()); ByteBuf msg = (ByteBuf) in; int len = msg.readableBytes(); if (len > 0) { channelInfo.getRecvBuf().addBuffer(msg.retain()); DecodeWorkTask[]...