You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
httpServer.keepAliveTimeout default of 5s is too low, causes subtle long-connection failures #59193
With default settings, the server will close the connection before responding.
Workaround
server.keepAliveTimeout=60000;// Set to 60s explicitly
Suggestion
Increase the default to 60s (industry standard);
Or at least log a warning when using the default 5s value;
Or improve documentation to highlight this sharp edge.
Why It Matters
Silent timeouts cause real-world pain and are extremely hard to detect.
Most developers don't know to check keepAliveTimeout, especially when using frameworks like Express or behind proxies.
Changing this one default would prevent countless hours of misdiagnosis.
This issue has been marked as stale due to 90 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
This issue has been automatically closed after 30 days of inactivity following its stale status (no activity for a total of 120 days).
If this is still relevant, feel free to reopen it or leave a comment with additional details so we can continue the discussion.
Activity
tamebadger commentedon Mar 13, 2026
@yujiang which AI agent did you use for this out of interest, ours did in fact not pick this up :)
khalidsaidi commentedon Mar 25, 2026
github-actions commentedon Jul 20, 2026
This issue has been marked as stale due to 90 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
github-actions commentedon Aug 20, 2026
This issue has been automatically closed after 30 days of inactivity following its stale status (no activity for a total of 120 days).
If this is still relevant, feel free to reopen it or leave a comment with additional details so we can continue the discussion.