Skip to content

Commit 8a1f2d0

Browse files
cjihrigtargos
authored andcommitted
doc: doc deprecate the legacy http parser
PR-URL: #27498 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Masashi Hirano <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 766a731 commit 8a1f2d0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

doc/api/deprecations.md

+16
Original file line numberDiff line numberDiff line change
@@ -2452,6 +2452,22 @@ Type: Documentation-only
24522452
24532453
Module.createRequireFromPath() is deprecated. Please use [`module.createRequire()`][] instead.
24542454
2455+
<a id="DEP0131"></a>
2456+
### DEP0131: Legacy HTTP parser
2457+
<!-- YAML
2458+
changes:
2459+
- version: REPLACEME
2460+
pr-url: https://github.com/nodejs/node/pull/27498
2461+
description: Documentation-only.
2462+
-->
2463+
2464+
Type: Documentation-only
2465+
2466+
The legacy HTTP parser, used by default in versions of Node.js prior to 12.0.0,
2467+
is deprecated. This deprecation applies to users of the
2468+
[`--http-parser=legacy`][] command-line flag.
2469+
2470+
[`--http-parser=legacy`]: cli.html#cli_http_parser_library
24552471
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
24562472
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
24572473
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array

0 commit comments

Comments
 (0)