From 3a0549dacb6fb4e24e2bb6f165bf8ed9dde1717d Mon Sep 17 00:00:00 2001 From: Jahanzaib iqbal <78400134+jahanzaib-iqbal-dev@users.noreply.github.com> Date: Mon, 22 Jun 2026 14:48:46 +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 PR-URL: https://github.com/nodejs/node/pull/63974 Reviewed-By: Tim Perry Reviewed-By: Luigi Pinca --- 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 4f938fc9dd2..27ff697ad3a 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -3716,7 +3716,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.