mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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>
20 lines
483 B
C++
20 lines
483 B
C++
#ifdef NODE_EXPERIMENTAL_HTTP
|
|
#undef NODE_EXPERIMENTAL_HTTP
|
|
#endif
|
|
|
|
#include "node_http_parser_impl.h"
|
|
#include "node_metadata.h"
|
|
|
|
namespace node {
|
|
namespace per_process {
|
|
const char* const http_parser_version =
|
|
NODE_STRINGIFY(HTTP_PARSER_VERSION_MAJOR)
|
|
"."
|
|
NODE_STRINGIFY(HTTP_PARSER_VERSION_MINOR)
|
|
"."
|
|
NODE_STRINGIFY(HTTP_PARSER_VERSION_PATCH);
|
|
} // namespace per_process
|
|
} // namespace node
|
|
|
|
NODE_MODULE_CONTEXT_AWARE_INTERNAL(http_parser, node::InitializeHttpParser)
|