5fa0fc600ee97b4e2af1efd72639bbd90dc48465
Add body_limit middleware that reads limit from ArcSwap<DynamicConfig> on each request, enabling runtime config changes without restart. Uses Content-Length header check for fast rejection and http_body_util::Limited for streaming body enforcement. Default limit: 100 MB (104,857,600 bytes). Returns 413 Payload Too Large when exceeded.
Description
Languages
Rust
99.8%
Dockerfile
0.2%