We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8a639 commit 4e7c085Copy full SHA for 4e7c085
lib/_http_server.js
@@ -574,12 +574,6 @@ function Server(options, requestListener) {
574
575
storeHTTPOptions.call(this, options);
576
577
- // Optional buffer added to the keep-alive timeout when setting socket timeouts.
578
- // Helps reduce ECONNRESET errors from clients by extending the internal timeout.
579
- // Default is 1000ms if not specified.
580
- const buf = options.keepAliveTimeoutBuffer;
581
- this.keepAliveTimeoutBuffer =
582
- (typeof buf === 'number' && NumberIsFinite(buf) && buf >= 0) ? buf : 1000;
583
net.Server.call(
584
this,
585
{ allowHalfOpen: true, noDelay: options.noDelay ?? true,
0 commit comments