netty5/testsuite
Scott Mitchell f3dd410142 EPOLLRDHUP prematurely marking input as shutdown
Motivation:
When the EPOLLRDHUP event is received we assume that the read side of the FD is no longer functional and force the input state to be shutdown. However if the channel is still active we should rely upon EPOLLIN and read to indicate there is no more data before we update the shutdown state. If we do not do this we may not read all pending data in the FD if the RecvByteBufAllocator doesn't want to consume it all in a single read operation.

Modifications:
- AbstractEpollChannel#epollRdHupReady() shouldn't force shutdown the input if the channel is active

Result:
All data can be read even if the RecvByteBufAllocator doesn't read it all in the current read loop.
Fixes https://github.com/netty/netty/issues/6303
2017-02-16 08:40:32 -08:00
..
src/main/java/io/netty/testsuite EPOLLRDHUP prematurely marking input as shutdown 2017-02-16 08:40:32 -08:00
.gitignore updated udt and connection test 2013-05-14 06:46:07 +02:00
pom.xml Use the correct arguments when run with jdk9 2017-02-15 10:15:00 +01:00