netty5/transport-native-epoll/src/main
Joe Ellis bf52f39e59 Allow domain sockets to configure SO_SNDBUF and SO_RCVBUF (#9584)
Motivation:

Running tests with a `KQueueDomainSocketChannel` showed worse performance than an `NioSocketChannel`. It turns out that the default send buffer size for Nio sockets is 64k while for KQueue sockets it's 8k. I verified that manually setting the socket's send buffer size improved perf to expected levels.

Modification:

Plumb the `SO_SNDBUF` and `SO_RCVBUF` options into the `*DomainSocketChannelConfig`.

Result:

Can now configure send and receive buffer sizes for domain sockets.
2019-09-20 22:33:45 +02:00
..
c Also support sendmmsg(...) on connected UDP channels when using native epoll transport (#9536) 2019-09-06 20:57:50 +02:00
java/io/netty/channel/epoll Allow domain sockets to configure SO_SNDBUF and SO_RCVBUF (#9584) 2019-09-20 22:33:45 +02:00