Don't set HTTP/2 flow controller ctx to null
Motivation: We currently set the flow controller ChannelHandlerContexts to null when the channel becomes inactive. This is bad :) Modifications: Just remove that code in Http2ConnectionHandler Result: Fixes #4240
This commit is contained in:
parent
6241bb059c
commit
ec20902613
@ -428,8 +428,6 @@ public class Http2ConnectionHandler extends ByteToMessageDecoder implements Http
|
||||
// Call super class first, as this may result in decode being called.
|
||||
super.channelInactive(ctx);
|
||||
if (byteDecoder != null) {
|
||||
encoder.flowController().channelHandlerContext(null);
|
||||
decoder.flowController().channelHandlerContext(null);
|
||||
byteDecoder.channelInactive(ctx);
|
||||
byteDecoder = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user