From 29bd5b570dbd06e194a74e55fc9b65dd429b2b20 Mon Sep 17 00:00:00 2001 From: Efe Karasakal Date: Fri, 25 Sep 2026 16:38:13 +0200 Subject: [PATCH] doc: document keepAliveTimeoutBuffer server option Signed-off-by: Efe Karasakal PR-URL: https://github.com/nodejs/node/pull/66286 Reviewed-By: Luigi Pinca Reviewed-By: Tim Perry --- doc/api/http.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/api/http.md b/doc/api/http.md index c361d88cf51..ae973ee6aa7 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -3666,6 +3666,11 @@ changes: - version: v24.9.0 pr-url: https://github.com/nodejs/node/pull/59824 description: The `shouldUpgradeCallback` option is now supported. + - version: + - v24.6.0 + - v22.19.0 + pr-url: https://github.com/nodejs/node/pull/59243 + description: The `keepAliveTimeoutBuffer` option is supported now. - version: - v20.1.0 - v18.17.0 @@ -3746,6 +3751,10 @@ changes: the last response, before a socket will be destroyed. See [`server.keepAliveTimeout`][] for more information. **Default:** `65000`. + * `keepAliveTimeoutBuffer`: An additional buffer time in milliseconds added + to `keepAliveTimeout` to extend the internal socket timeout. + See [`server.keepAliveTimeoutBuffer`][] for more information. + **Default:** `1000`. * `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.