summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-05-09 15:27:10 -0400
committercjihrig <cjihrig@gmail.com>2019-05-09 15:30:58 -0400
commit6259c5287785f2de4cd5a06c7e45a89ab7a1e469 (patch)
treea45b9e5ebc44916e5ff87d025bcb34c47e215f26
parentb9a310338761754c968bb57b0903100b7672afb2 (diff)
downloadandroid-node-v8-6259c5287785f2de4cd5a06c7e45a89ab7a1e469.tar.gz
android-node-v8-6259c5287785f2de4cd5a06c7e45a89ab7a1e469.tar.bz2
android-node-v8-6259c5287785f2de4cd5a06c7e45a89ab7a1e469.zip
doc: doc deprecate the legacy http parser
PR-URL: https://github.com/nodejs/node/pull/27498 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
-rw-r--r--doc/api/deprecations.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index fc8d78187b..e1614819bd 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -2452,6 +2452,22 @@ Type: Documentation-only
Module.createRequireFromPath() is deprecated. Please use [`module.createRequire()`][] instead.
+<a id="DEP0131"></a>
+### DEP0131: Legacy HTTP parser
+<!-- YAML
+changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/27498
+ description: Documentation-only.
+-->
+
+Type: Documentation-only
+
+The legacy HTTP parser, used by default in versions of Node.js prior to 12.0.0,
+is deprecated. This deprecation applies to users of the
+[`--http-parser=legacy`][] command-line flag.
+
+[`--http-parser=legacy`]: cli.html#cli_http_parser_library
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array