mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: fix default limit of maxHeadersCount
The documented limit of 2000 refers to header pairs (counting both keys and values), which gives an effective limit of 1000 headers. This applies to both client and server; they have the same mechanism. Signed-off-by: Aryn H <arynh@protonmail.com> PR-URL: https://github.com/nodejs/node/pull/65472 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
This commit is contained in:
1 parent
56b1252a54
commit
8b79a71e78
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -197,7 +197,7 @@ This method is identical to [`server.listen()`][] from [`net.Server`][].
|
||||
|
||||
### `server.maxHeadersCount`
|
||||
|
||||
* Type: {number} **Default:** `2000`
|
||||
* Type: {number} **Default:** `1000`
|
||||
|
||||
See [`server.maxHeadersCount`][] in the `node:http` module.
|
||||
|
||||
|
||||
Reference in new issue
Block a user