diff options
author | Jimb Esser <wasteland@gmail.com> | 2018-10-31 12:55:00 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-08 14:38:23 -0800 |
commit | 7d86a5324bc29c21afce8cba3dba508b78d48cd5 (patch) | |
tree | e52982270b7712f847eef6c88fa05d865d3b70a9 /common.gypi | |
parent | 1f6c4ba61d70318d1422a0dac2297f519ee35045 (diff) | |
download | android-node-v8-7d86a5324bc29c21afce8cba3dba508b78d48cd5.tar.gz android-node-v8-7d86a5324bc29c21afce8cba3dba508b78d48cd5.tar.bz2 android-node-v8-7d86a5324bc29c21afce8cba3dba508b78d48cd5.zip |
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 'common.gypi')
0 files changed, 0 insertions, 0 deletions