From 147e5d57928504b9864b0039effdc1a7fb7f9ec0 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Mon, 29 Oct 2018 15:59:51 -0700 Subject: [PATCH] doc: document HPE_HEADER_OVERFLOW error PR-URL: https://github.com/nodejs/node/pull/23963 Reviewed-By: James M Snell Reviewed-By: Franziska Hinkelmann Reviewed-By: Ben Noordhuis Reviewed-By: Matteo Collina Reviewed-By: Colin Ihrig Reviewed-By: Michael Dawson Reviewed-By: Vse Mozhet Byt --- doc/api/errors.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/api/errors.md b/doc/api/errors.md index 5c593e0fcd1b95..936cac77f77d8a 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. + +### 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. + ### MODULE_NOT_FOUND