Skip to content

doc: correct HTTPS server defaults - #65188

Closed
arhxam wants to merge 1 commit into
nodejs:mainfrom
arhxam:doc-https-server-defaults
Closed

doc: correct HTTPS server defaults#65188
arhxam wants to merge 1 commit into
nodejs:mainfrom
arhxam:doc-https-server-defaults

Conversation

@arhxam

@arhxam arhxam commented Aug 10, 2026

Copy link
Copy Markdown

Description

Two HTTPS server defaults remained stale after their underlying HTTP server
defaults changed:

  • https.Server.setTimeout() documented 120 seconds, while HTTPS servers set
    timeout to 0 and the inherited HTTP default has been 0 since v13.0.0.
  • https.Server.keepAliveTimeout documented 5 seconds, while
    storeHTTPOptions() now initializes it to 65 seconds, matching
    http.Server.keepAliveTimeout.

A newly created HTTPS server confirms both effective defaults:

{ timeout: 0, keepAliveTimeout: 65000 }

This corrects both entries and mirrors the relevant HTTP changelog metadata.
Documentation-only change.

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 <arhamwani765@gmail.com>
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. https Issues or PRs related to the https subsystem. labels Aug 10, 2026
@aduh95 aduh95 closed this Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. https Issues or PRs related to the https subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants