Skip to content

doc: fix keepAliveTimeout default in http.createServer options#63974

Open
jahanzaib-iqbal-dev wants to merge 1 commit into
nodejs:mainfrom
jahanzaib-iqbal-dev:docs/fix-keepalivetimeout-default
Open

doc: fix keepAliveTimeout default in http.createServer options#63974
jahanzaib-iqbal-dev wants to merge 1 commit into
nodejs:mainfrom
jahanzaib-iqbal-dev:docs/fix-keepalivetimeout-default

Conversation

@jahanzaib-iqbal-dev

Copy link
Copy Markdown

PR #62782 updated the keepAliveTimeout default from 5 seconds to 65 seconds and correctly updated the server.keepAliveTimeout property section, but the http.createServer() options table was not updated and still shows **Default:** \5000``.

This PR fixes the remaining reference.

Before:

**Default:** `5000`.

After:

**Default:** `65000`.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. http Issues or PRs related to the http subsystem. labels Jun 18, 2026

@pimterry pimterry left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks! Change itself looks good, but your commit message is failing linting because it doesn't have a signed-off-by trailer. You'll need to git commit -s --amend (which will add the trailer) and then force push.

PR nodejs#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 <jahanzaib@gsoftconsulting.com>
@jahanzaib-iqbal-dev jahanzaib-iqbal-dev force-pushed the docs/fix-keepalivetimeout-default branch from 2e7f41b to f15a17a Compare June 18, 2026 13:22
@jahanzaib-iqbal-dev

Copy link
Copy Markdown
Author

@pimterry thanks for the review! I've added the Signed-off-by trailer and force pushed — the commit message lint should pass now. Please check when you get a chance 🙏

@bjohansebas bjohansebas added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. http Issues or PRs related to the http subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants