netty5/handler
Norman Maurer 200c6efc75 [#3364] Not use VoidChannelPromise in SslHandler to guard against IllegalStateException
Motivation:

SslHandler adds a pending write with an empty buffer and a VoidChannelPromise when a user flush and not pending writes are currently stored. This may produce an IllegalStateException later if the user try to add a ChannelFutureListener to the promise in the next ChannelOutboundHandler.

Modifications:

Replace ctx.voidPromise() with ctx.newPromise()

Result:

No more IllegalStateException possible
2015-01-30 19:23:03 +01:00
..
src [#3364] Not use VoidChannelPromise in SslHandler to guard against IllegalStateException 2015-01-30 19:23:03 +01:00
pom.xml Fix dependency issues with hamcrest 2014-12-04 17:59:15 +09:00