netty5/transport/src/test/java/io/netty/bootstrap
Norman Maurer 4638df2062 [#5566] Ensure using a ChannelInitializer via ServerBootstrap.handler(...) produce correct ordering.
Motivation:

When a ChannelInitializer is used via ServerBootstrap.handler(...) the users handlers may be added after the internal ServerBootstrapAcceptor. This should not happen.

Modifications:

Delay the adding of the ServerBootstrapAcceptor until the initChannel(....) method returns.

Result:

Correct order of handlers in the ServerChannels ChannelPipeline.
2016-07-27 08:34:31 +02:00
..
BootstrapTest.java AbstractBootstrap can crash instead of failing promise, close #5387 2016-06-13 18:59:09 +02:00
ServerBootstrapTest.java [#5566] Ensure using a ChannelInitializer via ServerBootstrap.handler(...) produce correct ordering. 2016-07-27 08:34:31 +02:00