netty5/transport-native-epoll/src
Norman Maurer e166780f0b [#2823] Writing DefaultFileRegion with EpollSocketChannel may cause hang
Motivation:

In EpollSocketchannel.doWriteFileRegion(...) we need to make sure we write until sendFile(...) returns either 0 or all is written. Otherwise we may not get notified once the Channel is writable again.

This is the case as we use EPOLL_ET.

Modifications:

Always write until either sendFile returns 0 or all is written.

Result:

No more hangs when writing DefaultFileRegion can happen.
2014-08-26 15:09:27 +02:00
..
main [#2823] Writing DefaultFileRegion with EpollSocketChannel may cause hang 2014-08-26 15:09:27 +02:00
test/java/io/netty/channel/epoll Make Nio/EpollEventLoop run on a ForkJoinPool 2014-08-11 15:28:46 -07:00