diff options
author | unknown <rosaxny@gmail.com> | 2020-03-27 18:34:24 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-03-29 23:38:57 +0300 |
commit | 400bc5cdc0b528a853c6b01b5b5ac993c078f9a2 (patch) | |
tree | c40c431a27ccba5ace3278011d8573383ccc3335 /doc | |
parent | 9b4306dc153c73b71cfcc58b14de04d3a53809de (diff) |
http: increase default header size from 8KB to 16KB
Fixes: https://github.com/nodejs/node/issues/27645
PR-URL: https://github.com/nodejs/node/pull/32520
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/cli.md | 6 | ||||
-rw-r--r-- | doc/api/http.md | 4 | ||||
-rw-r--r-- | doc/node.1 | 2 |
3 files changed, 8 insertions, 4 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. diff --git a/doc/node.1 b/doc/node.1 index 430efa77233..9bb344fdf27 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -244,7 +244,7 @@ This flag is inherited from V8 and is subject to change upstream. It may disappear in a non-semver-major release. . .It Fl -max-http-header-size Ns = Ns Ar size -Specify the maximum size of HTTP headers in bytes. Defaults to 8KB. +Specify the maximum size of HTTP headers in bytes. Defaults to 16KB. . .It Fl -napi-modules This option is a no-op. |