Skip to content

http: don't error after http client response

This tries to solve https://github.com/nodejs/node/issues/27916. Where an error can be emitted from a HttpClient request after the response has been ended.

In particular see the comment https://github.com/nodejs/node/issues/27916#issuecomment-496107610

Depends on https://github.com/nodejs/node/pull/28621.

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