From e9cc8d0066e4c0c37e66daa89c66ae812537d976 Mon Sep 17 00:00:00 2001 From: erm1116 Date: Wed, 31 Jul 2024 01:00:39 +0900 Subject: [PATCH 1/2] doc: fix error description of the max header size --- doc/api/errors.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/api/errors.md b/doc/api/errors.md index 86b5a34d023158..3979557a41edac 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -3180,6 +3180,9 @@ Creation of a [`zlib`][] object failed due to incorrect configuration. Too much HTTP header data was received. In order to protect against malicious or -malconfigured clients, if more than 8 KiB of HTTP header data is received then +malconfigured clients, if more than `maxHeaderSize` 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. From 944900b1db205bb9dcac23d55e427d636455c8e8 Mon Sep 17 00:00:00 2001 From: erm1116 Date: Sat, 17 Aug 2024 16:22:14 +0900 Subject: [PATCH 2/2] doc: apply suggestion --- doc/api/errors.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/api/errors.md b/doc/api/errors.md index 3979557a41edac..8066e163b58f70 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -3180,9 +3180,6 @@ Creation of a [`zlib`][] object failed due to incorrect configuration.