netty5/handler
feijermu 9fe5f6f958 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 10:05:54 +02:00
..
src Dequeue all cached messages and destroy the queue instance after removing the FlowControlHandler from channel pipeline. (#10304) 2020-05-19 10:05:54 +02:00
pom.xml Add ResolveAddressHandler which can be used to resolve addresses on the fly (#9947) 2020-01-20 19:34:09 +01:00