Skip to content

http: fix incorrect headersTimeout measurement

For keep-alive connections, the headersTimeout may fire during subsequent requests because the measurement was reset after a request and not before a request.

Fixes: https://github.com/nodejs/node/issues/27363

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading