netty5/common/src/test/java/io/netty/util
Norman Maurer d1c235d454 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:09 +02:00
..
collection Add back IntObjectMap.values(Class<V>) 2014-11-22 07:42:33 +09:00
concurrent Fix possible IllegalStateException caused by closeNotifyTimeout when using SslHandler 2015-05-06 21:50:09 +02:00
internal [#3652] Improve performance of StringUtil.simpleClassName() 2015-04-22 09:11:11 +02:00
AttributeKeyTest.java Allow to get existing ChannelOption / AttributeKey from String 2015-02-18 09:12:43 +01:00
DefaultAttributeMapTest.java Document the contract of Attribute.getAndSet(...) and set(...) 2015-04-14 09:53:04 +02:00
HashedWheelTimerTest.java [#2744] Fix flakey HashedWheelTimerTest.testExecutionOnTime() 2014-08-06 07:03:58 +02:00
NetUtilTest.java Handle the interface name in IPv6 address correctly 2014-11-12 12:15:14 +09:00
RecyclerTest.java Fix a bug where Recycler's capacity can increase beyond its maximum 2014-12-06 17:56:10 +09:00
ThreadDeathWatcherTest.java Refactor FastThreadLocal to simplify TLV management 2014-06-19 21:08:16 +09:00
UniqueNameTest.java enable checkstyle for test source directory and fix checkstyle errors 2013-03-30 13:18:57 +01:00