netty5/handler
Norman Maurer 0f2ae0cafe [#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:22:43 +01:00
..
src [#3364] Not use VoidChannelPromise in SslHandler to guard against IllegalStateException 2015-01-30 19:22:43 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2014-12-31 20:58:44 +09:00