netty5/transport/src/main/java/io/netty
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
..
bootstrap New native transport for kqueue 2017-05-03 09:53:22 -07:00
channel Not add ChannelHandler to ChannelPipeline once the pipeline was destroyed. 2017-05-31 07:37:39 +02:00