netty5/handler
feijermu f66412c84c
Dequeue all cached messages and destroy the queue instance after removing the FlowControlHandler from channel pipeline. (#10304)
Motivation:

The `FlowControlHandler` may cache the received messages in a queue in order to do the flow control. However, if this handler is manually removed from pipeline during runtime, those cached messages might not be passed to the next channel handler forever.

Modification:

Dequeue all these cached messages and call `ChannelHandlerContext.fireChannelRead(...)` in `handlerRemoved(...)` method.

Result:
Avoid losing the received messages.
2020-05-19 09:46:12 +02:00
..
src Dequeue all cached messages and destroy the queue instance after removing the FlowControlHandler from channel pipeline. (#10304) 2020-05-19 09:46:12 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2020-05-13 06:00:23 +00:00