netty5/transport
Tibor Csögör 4fdf0e8026 ChannelInitializer: change propagation of channelRegistered event
Motivation:

If a handler is added to the pipeline within ChannelInitializer::initChannel via
addFirst(...) then it will not receive the channelRegistered event.  The same
handler added via addLast(...) will receive the event.  This different behavior
is unlikely to be expected by users and can cause confusion.

Modifications:

Let ChannelInitializer::channelRegistered propagate the event by passing it to
the pipeline instead of firing it on the ChannelHandlerContext.

Result:

The channelRegistered event is propagated to handlers regardless of the method
used to add it to the pipeline (addFirst/addLast).
2016-03-31 09:26:42 +02:00
..
src ChannelInitializer: change propagation of channelRegistered event 2016-03-31 09:26:42 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2016-03-21 10:34:26 +01:00