| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c4f298c commit 2c94967
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -576,12 +576,6 @@ function Server(options, requestListener) { | |||
| 576 | 576 | ||
| 577 | 577 | storeHTTPOptions.call(this, options); | |
| 578 | 578 | ||
| 579 | - // Optional buffer added to the keep-alive timeout when setting socket timeouts. | ||
| 580 | - // Helps reduce ECONNRESET errors from clients by extending the internal timeout. | ||
| 581 | - // Default is 1000ms if not specified. | ||
| 582 | - const buf = options.keepAliveTimeoutBuffer; | ||
| 583 | - this.keepAliveTimeoutBuffer = | ||
| 584 | - (typeof buf === 'number' && NumberIsFinite(buf) && buf >= 0) ? buf : 1000; | ||
| 585 | 579 | net.Server.call( | |
| 586 | 580 | this, | |
| 587 | 581 | { allowHalfOpen: true, noDelay: options.noDelay ?? true, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments