Skip to content

Commit dc30e47

Browse files
committed
Do not set an initial value for SO_RCVBUF as this will disable auto-tuning.
1 parent e7bc67e commit dc30e47

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

webserver/webserver/src/main/java/io/helidon/webserver/WebServerConfigSupport.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,6 @@ public void decorate(ListenerConfig.BuilderBase<?, ?> target) {
151151
if (!socketOptions.containsKey(StandardSocketOptions.SO_REUSEADDR)) {
152152
target.putListenerSocketOption(StandardSocketOptions.SO_REUSEADDR, true);
153153
}
154-
if (!socketOptions.containsKey(StandardSocketOptions.SO_RCVBUF)) {
155-
target.putListenerSocketOption(StandardSocketOptions.SO_RCVBUF, 4096);
156-
}
157154
if (target.requestedUriDiscoveryContext().isEmpty()) {
158155
target.requestedUriDiscoveryContext(RequestedUriDiscoveryContext.builder()
159156
.socketId(target.name())

0 commit comments

Comments
 (0)