Skip to content

doc: clarify server keep-alive options#63338

Closed
MukundaKatta wants to merge 1 commit into
nodejs:mainfrom
MukundaKatta:codex/doc-server-keepalive-options
Closed

doc: clarify server keep-alive options#63338
MukundaKatta wants to merge 1 commit into
nodejs:mainfrom
MukundaKatta:codex/doc-server-keepalive-options

Conversation

@MukundaKatta
Copy link
Copy Markdown

Fixes: #61850

This clarifies two server keep-alive docs points:

  • keepAlive on net.createServer() and http.createServer() enables TCP keep-alive by calling socket.setKeepAlive() for accepted sockets.
  • server.keepAliveTimeout = 0 disables only the idle keep-alive timeout; it does not mean HTTP keep-alive itself is disabled.

Validation:

  • git diff --check
  • node tools/lint-md/lint-md.mjs doc/api/http.md doc/api/net.md

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label May 15, 2026
@MukundaKatta MukundaKatta force-pushed the codex/doc-server-keepalive-options branch from e726cc7 to b3d6b64 Compare May 15, 2026 20:19
@aduh95
Copy link
Copy Markdown
Contributor

aduh95 commented May 15, 2026

It seems you are using a LLM to open PRs at a rate that's not humanely sustainable, without following up at all on the feedback received, please stop, this is not bringing any value and is wasting our time. If you keep opening more PRs, you'll get blocked.

@aduh95 aduh95 closed this May 15, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarification needed regarding the http/net Server keepAlive options

4 participants