netty5/transport-native-epoll/src
Norman Maurer d6016b7be8 [#3457] Proper fix for IllegalStateException caused by closed file descriptor / channel
Motivation:

During 6b941e9bdb I introduced a regression that could cause an IllegalStateException.
A non-proper fix was commited as part of #3443. This commit add a proper fix.

Modifications:

Remove FileDescriptor.INVALID and add FileDescriptor.isOpen() as replacement. Once FileDescriptor.close() is called isOpen() will return false.

Result:

No more IllegalStateException caused by a close channel.
2015-03-01 19:41:09 +01:00
..
main [#3457] Proper fix for IllegalStateException caused by closed file descriptor / channel 2015-03-01 19:41:09 +01:00
test/java/io/netty/channel/epoll [#3457] Proper fix for IllegalStateException caused by closed file descriptor / channel 2015-03-01 19:41:09 +01:00