diff options
author | Jimb Esser <wasteland@gmail.com> | 2018-10-31 22:55:00 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-11-14 01:37:34 +0300 |
commit | a1c7c1902ad591e41fce12f656d62ad0794a4ca2 (patch) | |
tree | e26ca895d137a78f558a57f222be8d9059169d1a /deps | |
parent | 7c04fe07a6e2aeddfcaa12f5b8219fb20bda09fe (diff) |
child_process: allow 'http_parser' monkey patching again
Lazy load _http_common and HTTPParser so that the 'http_parser' binding
can be monkey patched before any internal modules require it. This also
probably improves startup performance minimally for programs that never
require the HTTP stack.
Fixes: https://github.com/nodejs/node/issues/23716
Fixes: https://github.com/creationix/http-parser-js/issues/57
PR-URL: https://github.com/nodejs/node/pull/24006
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps')
0 files changed, 0 insertions, 0 deletions