diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index d039d13f418..62c394694d9 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -2756,6 +2756,40 @@ rpc-http-max-active-connections=100 The maximum number of allowed HTTP JSON-RPC connections. Once this limit is reached, incoming connections are rejected. The default is 80. +### `rpc-http-max-request-content-length` + + + +# Syntax + +```bash +--rpc-http-max-request-content-length= +``` + +# Example + +```bash +--rpc-http-max-request-content-length=2097152 +``` + +# Environment variable + +```bash +BESU_RPC_HTTP_MAX_REQUEST_CONTENT_LENGTH=2097152 +``` + +# Configuration file + +```toml +rpc-http-max-request-content-length=2097152 +``` + + + +The maximum request content length. +Besu only accepts JSON-RPC API requests with a body size less than or equal to this value. +The default is 5242880 (5 MB). + ### `rpc-http-max-batch-size`