netty5/handler/src
Norman Maurer 7e5ce2a7b4 [#2358] SslHandler.safeClose(...) may not notify the ChannelPromise
Motivation:
In SslHandler.safeClose(...) we attach a ChannelFutureListener to the flushFuture and will notify the ChannelPromise which was used for close(...) in it. The problem here is that we only call ChannelHandlerContext.close(ChannelPromise) if Channel.isActive() is true and otherwise not notify it at all. We should just call ChannelHandlerContext.close(ChannelPromise) in all cases.

Modifications:
Always call ChannelHandlerContext.close(ChannelPromise) in the ChannelFutureListeiner

Result:
ChannelPromise used for close the Channel is notified in all cases
2014-04-03 13:30:05 +02:00
..
main/java/io/netty/handler [#2358] SslHandler.safeClose(...) may not notify the ChannelPromise 2014-04-03 13:30:05 +02:00
test/java/io/netty/handler Overall clean-up of ipfilter package 2014-03-12 16:09:37 +09:00