From 3f64c3501bc25ba581866cc7f6900de02f392d7a Mon Sep 17 00:00:00 2001 From: Arham Wani Date: Mon, 10 Aug 2026 13:27:44 +0530 Subject: [PATCH] doc: correct HTTPS server defaults HTTPS servers inherit their timeout behavior from HTTP. The setTimeout() entry still listed 120 seconds after the v13 default change, and the keepAliveTimeout entry still listed 5 seconds after the HTTP default became 65 seconds. Update both entries and their change metadata. Signed-off-by: Arham Wani --- doc/api/https.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/api/https.md b/doc/api/https.md index cdd8aad956ed..9f3a6a6a2513 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -222,9 +222,13 @@ See [`server.requestTimeout`][] in the `node:http` module. -* `msecs` {number} **Default:** `120000` (2 minutes) +* `msecs` {number} **Default:** 0 (no timeout) * `callback` {Function} * Returns: {https.Server} @@ -248,9 +252,13 @@ See [`server.timeout`][] in the `node:http` module. -* Type: {number} **Default:** `5000` (5 seconds) +* Type: {number} **Default:** `65000` (65 seconds) See [`server.keepAliveTimeout`][] in the `node:http` module.