0xSpaceShard / starknet-devnet-rs

A local testnet for Starknet... in Rust
https://0xspaceshard.github.io/starknet-devnet-rs/
MIT License
107 stars 62 forks source link

Request body size limit should be configurable #408

Closed FabijanC closed 7 months ago

FabijanC commented 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