itstack-demo-netty-2-05的MyServerHandler的channelRead方法错误
Opened this issue · 0 comments
1700957440 commented
在处理FullHttpRequest时,对于 “ 如果是非Keep-Alive,关闭连接” 注释处的if判断条件的处理,少了一条
应当为
if (httpResponse.status().code() != 200 || HttpUtil.isKeepAlive(httpRequest))