netty5/transport/src
Norman Maurer 71f2e23633 Fix possible IllegalStateException caused by closeNotifyTimeout when using SslHandler
Motivation:

In the SslHandler we schedule a timeout at which we close the Channel if a timeout was detected during close_notify. Because this can race with notify the flushFuture we can see an IllegalStateException when the Channel is closed.

Modifications:

- Use a trySuccess() and tryFailure(...) to guard against race.

Result:

No more race.
2015-05-06 21:50:32 +02:00
..
main/java/io/netty Fix possible IllegalStateException caused by closeNotifyTimeout when using SslHandler 2015-05-06 21:50:32 +02:00
test/java/io/netty [#3218] Add ChannelPool / ChannelPoolMap abstraction and implementations 2015-04-30 12:26:46 +02:00