backport: 10805
This is a backport of https://github.com/nodejs/node/pull/10805.
CI: https://ci.nodejs.org/job/node-test-pull-request/6590/
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
- http