mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
doc: describe current HTTP header size limit
Document that the limit was changed from 80KB to 8KB in 186035243
.
Fixes: https://github.com/nodejs/node/issues/24693
PR-URL: https://github.com/nodejs/node/pull/24700
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
This commit is contained in:
parent
f051737ee4
commit
063e8fbe78
@ -1880,9 +1880,15 @@ Creation of a [`zlib`][] object failed due to incorrect configuration.
|
||||
|
||||
<a id="HPE_HEADER_OVERFLOW"></a>
|
||||
### HPE_HEADER_OVERFLOW
|
||||
<!-- YAML
|
||||
changes:
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/commit/186035243fad247e3955f
|
||||
description: Max header size in `http_parser` was set to 8KB.
|
||||
-->
|
||||
|
||||
Too much HTTP header data was received. In order to protect against malicious or
|
||||
malconfigured clients, if more than 80KB of HTTP header data is received then
|
||||
malconfigured clients, if more than 8KB 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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user