netty5/transport/src
Norman Maurer 4aa8002596 Not add ChannelHandler to ChannelPipeline once the pipeline was destroyed.
Motivation:

ChannelPipeline will happily add a handler to a closed Channel's pipeline and will call handlerAdded(...) but will not call handlerRemoved(...).

Modifications:

Check if pipeline was destroyed and if so not add the handler at all but propergate an exception.

Result:

Fixes [#6768]
2017-05-31 07:37:39 +02:00
..
main/java/io/netty Not add ChannelHandler to ChannelPipeline once the pipeline was destroyed. 2017-05-31 07:37:39 +02:00
test/java/io/netty Not add ChannelHandler to ChannelPipeline once the pipeline was destroyed. 2017-05-31 07:37:39 +02:00