Skip to content

http: remove default 'timeout' listener on upgrade

Rodrigo Muino Tomonari requested to merge github/fork/lpinca/gh-23857 into master

Remove the default listener of the 'timeout' event from the socket before emitting the 'connect' or 'upgrade' event.

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

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