diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-12-18 22:15:36 +0300 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2018-12-21 02:46:30 +0300 |
commit | a29c93a1472947ed053b674cfd670a9d191594ea (patch) | |
tree | 20ae016d819e3d6ed36cebd8f70f4c85c1662d47 /src/node_metadata.cc | |
parent | e9703619e0698953ed71e8faf446b61c11ec89fc (diff) |
src: move the declaration of http parser versions into node_metadata.h
Instead of putting them in node_internals.h.
PR-URL: https://github.com/nodejs/node/pull/25115
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_metadata.cc')
-rw-r--r-- | src/node_metadata.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/node_metadata.cc b/src/node_metadata.cc index 3ddec4b36af..a67e747563a 100644 --- a/src/node_metadata.cc +++ b/src/node_metadata.cc @@ -2,7 +2,6 @@ #include "ares.h" #include "nghttp2/nghttp2ver.h" #include "node.h" -#include "node_internals.h" #include "util.h" #include "uv.h" #include "v8.h" @@ -44,8 +43,8 @@ Metadata::Versions::Versions() { modules = NODE_STRINGIFY(NODE_MODULE_VERSION); nghttp2 = NGHTTP2_VERSION; napi = NODE_STRINGIFY(NAPI_VERSION); - llhttp = llhttp_version; - http_parser = http_parser_version; + llhttp = per_process::llhttp_version; + http_parser = per_process::http_parser_version; #if HAVE_OPENSSL openssl = GetOpenSSLVersion(); |