enclose-io/compiler

View on GitHub
lts/src/node_http_parser_traditional.cc

Summary

Maintainability
Test Coverage
#ifdef NODE_EXPERIMENTAL_HTTP
#undef NODE_EXPERIMENTAL_HTTP
#endif

#include "memory_tracker-inl.h"
#include "node_http_parser_impl.h"
#include "node_metadata.h"
#include "util-inl.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)