Closed FabijanC closed 7 months ago
Either with a CLI flag (limit on/off), or a CLI param that accepts a size. Personally I prefer avoiding booleans/flags, so inclined to the latter approach.
Currently big requests are failing, so marking this as a bug.
In the flag approach, can be as simple as adding .layer(DefaultBodyLimit::disable()) to crates/starknet-devnet-server/src/builder.rs
.layer(DefaultBodyLimit::disable())
Either with a CLI flag (limit on/off), or a CLI param that accepts a size. Personally I prefer avoiding booleans/flags, so inclined to the latter approach.
Currently big requests are failing, so marking this as a bug.
In the flag approach, can be as simple as adding
.layer(DefaultBodyLimit::disable())
to crates/starknet-devnet-server/src/builder.rs