Skip to content

Commit 68dc100

Browse files
sam-githubtargos
authored andcommitted
doc: describe current HTTP header size limit
Document that the limit was changed from 80KB to 8KB in 1860352. Fixes: #24693 PR-URL: #24700 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
1 parent 9e1c6eb commit 68dc100

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/api/errors.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1869,9 +1869,15 @@ Creation of a [`zlib`][] object failed due to incorrect configuration.
18691869

18701870
<a id="HPE_HEADER_OVERFLOW"></a>
18711871
### HPE_HEADER_OVERFLOW
1872+
<!-- YAML
1873+
changes:
1874+
- version: REPLACEME
1875+
pr-url: https://github.com/nodejs/node/commit/186035243fad247e3955f
1876+
description: Max header size in `http_parser` was set to 8KB.
1877+
-->
18721878

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

0 commit comments

Comments
 (0)