diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2018-11-28 09:02:17 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-28 11:55:31 -0800 |
commit | 063e8fbe781ceff44dda633e116639ed7bb9eb1d (patch) | |
tree | 9530e3fb33f8b40e8de5e054b0a0d9508707cba0 /doc | |
parent | f051737ee4ebb7dfa25abc91f7a4797bd8fe0cb6 (diff) | |
download | android-node-v8-063e8fbe781ceff44dda633e116639ed7bb9eb1d.tar.gz android-node-v8-063e8fbe781ceff44dda633e116639ed7bb9eb1d.tar.bz2 android-node-v8-063e8fbe781ceff44dda633e116639ed7bb9eb1d.zip |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/errors.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md index 96ff284c0a..75d0f368ca 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -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. |