mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-06 13:11:17 +00:00
The HTTP JSON-RPC server caps request bodies at a hardcoded 5 MB (`defaultBodyLimit`), with no way to raise it. EEST bloatnet depth benchmarks post worst-case batch requests larger than that during fill-stateful, which the server rejects with `413 Request Entity Too Large`. This adds `node.Config.HTTPBodyLimit` (default 5 MB), wired through to the HTTP/WS server config, and exposes it via `--rpc.http-body-limit` (value in **megabytes**, default 5). Default behaviour is unchanged. |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| config.go | ||
| config_test.go | ||
| database.go | ||
| defaults.go | ||
| doc.go | ||
| endpoints.go | ||
| errors.go | ||
| jwt_auth.go | ||
| jwt_handler.go | ||
| lifecycle.go | ||
| node.go | ||
| node_auth_test.go | ||
| node_example_test.go | ||
| node_test.go | ||
| rpcstack.go | ||
| rpcstack_test.go | ||
| utils_test.go | ||