netty5/transport
Norman Maurer 69f9a94f59
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:25 +02:00
..
src Increase initial buffer size in AdaptiveRecvByteBufAllocator (#10600) 2020-09-22 17:27:25 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2020-09-08 05:26:25 +00:00