Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2022-04-20 01:46:37 +0300
committerMichaƫl Zasso <targos@protonmail.com>2022-04-28 07:56:13 +0300
commit025b3e786a3773eb078beb46a37376a08ecaaf9f (patch)
treeba185ab286daf859e77009a82b3247eba3220e0b /doc/api/errors.md
parentd311916f376f9ce07cbd93086db4560b59827259 (diff)
doc: consolidate use of multiple-byte units
Refs: https://en.wikipedia.org/wiki/Byte#Multiple-byte_units PR-URL: https://github.com/nodejs/node/pull/42587 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
Diffstat (limited to 'doc/api/errors.md')
-rw-r--r--doc/api/errors.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 71cae6300b2..94afa611608 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -2951,11 +2951,11 @@ changes:
- v10.15.0
commit: 186035243fad247e3955f
pr-url: https://github.com/nodejs-private/node-private/pull/143
- description: Max header size in `http_parser` was set to 8 KB.
+ description: Max header size in `http_parser` was set to 8 KiB.
-->
Too much HTTP header data was received. In order to protect against malicious or
-malconfigured clients, if more than 8 KB of HTTP header data is received then
+malconfigured clients, if more than 8 KiB 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.