From f51e34c46e3b9f65528bc3e2c75ffcc1a394e79d 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 --- 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