netty5/transport-native-epoll
Norman Maurer 9ba64805b0 Set maxMessagesPerRead to 16 by default in epoll transport to be consistent with NIO.
Motivation:

DefaultChannelConfig has a "hack" which will automatically set maxMessagesPerRead to 16 when constructed when either a ServerChannel or a AbstractNioByteChannel is used. As this instanceof check will fail with epoll we should set it there as well.

Modifications:

Set maxMessagesPerRead to 16 by default in EpollDomainSocketChannelConfig and EpollSocketChannelConfig.

Result:

More consistent behavior between epoll and nio when LT mode is used.
2016-07-18 13:24:46 +02:00
..

Native transport for Linux

See our wiki page.