Skip to content

Commit 19cdee8

Browse files
committed
doc: describe current HTTP header size limit
Document that the limit was changed from 80KB to 8KB in 1860352. Fixes: #24693
1 parent 3337836 commit 19cdee8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/api/errors.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1880,9 +1880,15 @@ Creation of a [`zlib`][] object failed due to incorrect configuration.
18801880

18811881
<a id="HPE_HEADER_OVERFLOW"></a>
18821882
### HPE_HEADER_OVERFLOW
1883+
<!-- YAML
1884+
changes:
1885+
- version: REPLACEME
1886+
pr-url: https://github.com/nodejs/node/commit/186035243fad247e3955f
1887+
description: deps,http: http_parser set max header size to 8KB
1888+
-->
18831889

18841890
Too much HTTP header data was received. In order to protect against malicious or
1885-
malconfigured clients, if more than 80KB of HTTP header data is received then
1891+
malconfigured clients, if more than 8KB of HTTP header data is received then
18861892
HTTP parsing will abort without a request or response object being created, and
18871893
an `Error` with this code will be emitted.
18881894

0 commit comments

Comments
 (0)