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
a10cd9315a
commit
67c1cb3939
@ -425,8 +425,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