summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2018-10-29 15:59:51 -0700
committerSam Roberts <vieuxtech@gmail.com>2018-10-30 11:16:21 -0700
commit0a4a08f5521c71710fd1e940600bf82dd2fd7230 (patch)
treefcdad98e051d0e7f9f02200a6c7e305d506f139b /doc
parent2cab511d956145579049a5183b5c05fd50fee412 (diff)
downloadandroid-node-v8-0a4a08f5521c71710fd1e940600bf82dd2fd7230.tar.gz
android-node-v8-0a4a08f5521c71710fd1e940600bf82dd2fd7230.tar.bz2
android-node-v8-0a4a08f5521c71710fd1e940600bf82dd2fd7230.zip
doc: document HPE_HEADER_OVERFLOW error
PR-URL: https://github.com/nodejs/node/pull/23963 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/errors.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 5c593e0fcd..936cac77f7 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1843,6 +1843,14 @@ unknown file extension.
Creation of a [`zlib`][] object failed due to incorrect configuration.
+<a id="HPE_HEADER_OVERFLOW"></a>
+### HPE_HEADER_OVERFLOW
+
+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
+HTTP parsing will abort without a request or response object being created, and
+an `Error` with this code will be emitted.
+
<a id="MODULE_NOT_FOUND"></a>
### MODULE_NOT_FOUND