Skip to content

http: check for existance in resetHeadersTimeoutOnReqEnd

socket.parser can be undefined under unknown circumstances. This is a fix for a bug I cannot reproduce but it is affecting people.

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

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

Merge request reports

Loading