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 961554c commit 24d752aCopy full SHA for 24d752a
lib/_http_server.js
@@ -556,12 +556,6 @@ function Server(options, requestListener) {
556
557
storeHTTPOptions.call(this, options);
558
559
- // Optional buffer added to the keep-alive timeout when setting socket timeouts.
560
- // Helps reduce ECONNRESET errors from clients by extending the internal timeout.
561
- // Default is 1000ms if not specified.
562
- const buf = options.keepAliveTimeoutBuffer;
563
- this.keepAliveTimeoutBuffer =
564
- (typeof buf === 'number' && NumberIsFinite(buf) && buf >= 0) ? buf : 1000;
565
net.Server.call(
566
this,
567
{ allowHalfOpen: true, noDelay: options.noDelay ?? true,
0 commit comments