netty5/transport
Norman Maurer 1663eb5965 Increase initial buffer size in AdaptiveRecvByteBufAllocator (#10600)
Motivation:

We should use an initial buffer size with is >= 1500 (which is a common setting for MTU) to reduce the need for memory copies when a new connection is established. This is especially interesting when SSL / TLS comes into the mix.

This was ported from swiftnio:

https://github.com/apple/swift-nio/pull/1641

Modifications:

Increase the initial size from 1024 to 2048.

Result:

Possible less memory copies on new connections
2020-09-22 17:27:45 +02:00
..
src Increase initial buffer size in AdaptiveRecvByteBufAllocator (#10600) 2020-09-22 17:27:45 +02:00
pom.xml Correcting Maven Dependencies (#8622) 2018-12-06 09:02:00 +01:00