aboutsummaryrefslogtreecommitdiff
path: root/src/node_http_parser_llhttp.cc
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-09-17 14:17:08 +0200
committerAnna Henningsen <anna@addaleax.net>2019-09-20 20:18:35 +0200
commitac59dc42edb721ede2e5ddc6d1e4945ee2bf1e9c (patch)
treeb73ea409a56d4efc04dc452713d46222faed1d05 /src/node_http_parser_llhttp.cc
parentba3be578d8bbca1bafc391984b0e6f037507dcbc (diff)
downloadandroid-node-v8-ac59dc42edb721ede2e5ddc6d1e4945ee2bf1e9c.tar.gz
android-node-v8-ac59dc42edb721ede2e5ddc6d1e4945ee2bf1e9c.tar.bz2
android-node-v8-ac59dc42edb721ede2e5ddc6d1e4945ee2bf1e9c.zip
http: remove legacy parser
Remove the legacy `http_parser` implementation as a dependency and all code that uses it in favor of llhttp, given that the latter has been the default for all of Node 12 with no outstanding issues. PR-URL: https://github.com/nodejs/node/pull/29589 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'src/node_http_parser_llhttp.cc')
-rw-r--r--src/node_http_parser_llhttp.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/node_http_parser_llhttp.cc b/src/node_http_parser_llhttp.cc
deleted file mode 100644
index 6e1d18d3af..0000000000
--- a/src/node_http_parser_llhttp.cc
+++ /dev/null
@@ -1,21 +0,0 @@
-#define NODE_EXPERIMENTAL_HTTP 1
-
-#include "node_http_parser_impl.h"
-#include "memory_tracker-inl.h"
-#include "node_metadata.h"
-#include "util-inl.h"
-
-namespace node {
-
-namespace per_process {
-const char* const llhttp_version =
- NODE_STRINGIFY(LLHTTP_VERSION_MAJOR)
- "."
- NODE_STRINGIFY(LLHTTP_VERSION_MINOR)
- "."
- NODE_STRINGIFY(LLHTTP_VERSION_PATCH);
-} // namespace per_process
-} // namespace node
-
-NODE_MODULE_CONTEXT_AWARE_INTERNAL(http_parser_llhttp,
- node::InitializeHttpParser)