diff --git a/changelog/10072.txt b/changelog/10072.txt new file mode 100644 index 000000000..c6c8b8fe9 --- /dev/null +++ b/changelog/10072.txt @@ -0,0 +1,3 @@ +```release-note:bug +http: change max_request_size to be unlimited when the config value is less than 0 +``` diff --git a/website/content/docs/configuration/listener/tcp.mdx b/website/content/docs/configuration/listener/tcp.mdx index e1d42524f..e889a996f 100644 --- a/website/content/docs/configuration/listener/tcp.mdx +++ b/website/content/docs/configuration/listener/tcp.mdx @@ -54,8 +54,8 @@ advertise the correct address to other nodes. label suffix like `"30s"` or `"1h"`. - `max_request_size` `(int: 33554432)` – Specifies a hard maximum allowed - request size, in bytes. Defaults to 32 MB. Specifying a number less than or - equal to `0` turns off limiting altogether. + request size, in bytes. Defaults to 32 MB if not set or set to `0`. + Specifying a number less than `0` turns off limiting altogether. - `max_request_duration` `(string: "90s")` – Specifies the maximum request duration allowed before Vault cancels the request. This overrides