Skip to content

Commit

Permalink
doc: fix error description of the max header size
Browse files Browse the repository at this point in the history
  • Loading branch information
erm1116 committed Jul 30, 2024
1 parent a5decd4 commit e9cc8d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -3180,6 +3180,9 @@ Creation of a [`zlib`][] object failed due to incorrect configuration.

<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/54125
description: Corrected the description of the max header size to `maxHeaderSize`.
- version:
- v11.4.0
- v10.15.0
Expand All @@ -3189,7 +3192,7 @@ changes:
-->

Too much HTTP header data was received. In order to protect against malicious or
malconfigured clients, if more than 8 KiB of HTTP header data is received then
malconfigured clients, if more than `maxHeaderSize` of HTTP header data is received then
HTTP parsing will abort without a request or response object being created, and
an `Error` with this code will be emitted.

Expand Down

0 comments on commit e9cc8d0

Please sign in to comment.