diff options
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/cli.md | 6 | ||||
-rw-r--r-- | doc/api/http.md | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index cd7e8519717..386d9cdb96e 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -440,9 +440,13 @@ disappear in a non-semver-major release. ### `--max-http-header-size=size` <!-- YAML added: v11.6.0 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/32520 + description: Change maximum default size of HTTP headers from 8KB to 16KB. --> -Specify the maximum size, in bytes, of HTTP headers. Defaults to 8KB. +Specify the maximum size, in bytes, of HTTP headers. Defaults to 16KB. ### `--napi-modules` <!-- YAML diff --git a/doc/api/http.md b/doc/api/http.md index 3b45a36546d..fb2f2b32399 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2059,7 +2059,7 @@ changes: * `maxHeaderSize` {number} Optionally overrides the value of [`--max-http-header-size`][] for requests received by this server, i.e. the maximum length of request headers in bytes. - **Default:** 8192 (8KB). + **Default:** 16384 (16KB). * `requestListener` {Function} * Returns: {http.Server} @@ -2213,7 +2213,7 @@ changes: * `maxHeaderSize` {number} Optionally overrides the value of [`--max-http-header-size`][] for requests received from the server, i.e. the maximum length of response headers in bytes. - **Default:** 8192 (8KB). + **Default:** 16384 (16KB). * `method` {string} A string specifying the HTTP request method. **Default:** `'GET'`. * `path` {string} Request path. Should include query string if any. |