go-ethereum/cmd/utils
Rafael Matias 7c1959b306
rpc: add --rpc.http-body-limit flag for HTTP request body size (#35224)
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.
2026-07-06 11:30:32 +02:00
..
cmd.go cmd/utils: avoid extra newlines when reading era checksums (#35104) 2026-06-03 11:48:45 -06:00
diskusage.go all: add build tags for wasip1 (#31090) 2025-01-30 16:58:53 +01:00
diskusage_openbsd.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
diskusage_windows.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
export_test.go all: use fmt.Appendf instead of fmt.Sprintf where possible (#31301) 2025-03-25 14:53:02 +01:00
flags.go rpc: add --rpc.http-body-limit flag for HTTP request body size (#35224) 2026-07-06 11:30:32 +02:00
flags_legacy.go cmd/clef, cmd/geth: remove CLI flags that were deprecated for more than a year (#35021) 2026-05-27 14:58:31 +02:00
flags_test.go cmd/utils: keep metrics tag values containing '=' (#35168) 2026-07-03 14:59:28 +08:00
history_test.go cmd/utils: avoid extra newlines when reading era checksums (#35104) 2026-06-03 11:48:45 -06:00
prompt.go cmd/geth: remove unlock commandline flag (#30737) 2024-11-15 10:15:15 +01:00