netty5/transport-native-epoll/src
Norman Maurer 90adae7b32 Not try to write more then Integer.MAX_VALUE / SSIZE_MAX via writev
Motivation:

When trying to write more then Integer.MAX_VALUE / SSIZE_MAX via writev(...) the OS may return EINVAL depending on the kernel or the actual OS (bsd / osx always return EINVAL). This will trigger an IOException.

Modifications:

Never try to write more then Integer.MAX_VALUE / SSIZE_MAX when using writev.

Result:

No more IOException when write more data then Integer.MAX_VALUE / SSIZE_MAX via writev.
2015-05-21 12:01:51 +02:00
..
main Not try to write more then Integer.MAX_VALUE / SSIZE_MAX via writev 2015-05-21 12:01:51 +02:00
test/java/io/netty/channel/epoll Add support for splice(...) 2015-04-30 07:10:06 +02:00