Skip to content

http: do not rely on the 'agentRemove' event

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

Do not use the 'agentRemove' event to null socket._httpMessage as that event is public and can be used to not keep a request in the agent.

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

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