Skip to content

Commit e470c74

Browse files
jahanzaib-iqbal-devrichardlau
authored andcommitted
doc: fix keepAliveTimeout default in http.createServer options
PR #62782 updated the keepAliveTimeout default from 5s to 65s and correctly updated server.keepAliveTimeout (line 2006), but the http.createServer() options table at line 3775 was not updated. Fix the remaining reference to reflect the current default of 65000ms. Signed-off-by: Jahanzaib iqbal <jahanzaib@gsoftconsulting.com> PR-URL: #63974 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d0b830b commit e470c74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3754,7 +3754,7 @@ changes:
37543754
needs to wait for additional incoming data, after it has finished writing
37553755
the last response, before a socket will be destroyed.
37563756
See [`server.keepAliveTimeout`][] for more information.
3757-
**Default:** `5000`.
3757+
**Default:** `65000`.
37583758
* `maxHeaderSize` {number} Optionally overrides the value of
37593759
[`--max-http-header-size`][] for requests received by this server, i.e.
37603760
the maximum length of request headers in bytes.

0 commit comments

Comments
 (0)