From f15a17ab124a17564d60450ca86d36bab6dde9b5 Mon Sep 17 00:00:00 2001 From: Jahanzaib iqbal Date: Thu, 18 Jun 2026 16:04:02 +0500 Subject: [PATCH] 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 --- doc/api/http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http.md b/doc/api/http.md index 76950b95f8c5de..9640d59a5156bb 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -3772,7 +3772,7 @@ changes: needs to wait for additional incoming data, after it has finished writing the last response, before a socket will be destroyed. See [`server.keepAliveTimeout`][] for more information. - **Default:** `5000`. + **Default:** `65000`. * `maxHeaderSize` {number} Optionally overrides the value of [`--max-http-header-size`][] for requests received by this server, i.e. the maximum length of request headers in bytes.