From d19a3d6ee340b3e482131534cbb083dc55d5e927 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 9e6ec858623a6e..4c4a7ea078a9ac 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