Skip to content

http: reduce likelihood of race conditions on keep-alive timeout

Rodrigo Muino Tomonari requested to merge github/fork/jazelly/fix-54293 into main

This is the continued work from https://github.com/nodejs/node/pull/52653 to fix many similar issues when request is near socket keepAliveTimeout threshold. Added 1 second internal timeout to account for network latency for both server and client side.

Fixes: https://github.com/nodejs/node/issues/52649 Refs: https://github.com/nodejs/node/issues/54293

Merge request reports

Loading