Commit 53bdb38
committed
fix: disable default body limit for upload profile
Axum's Bytes extractor has a 2MB default body limit, but the upload
benchmark sends 20MB bodies — causing 100% 4xx (413 Payload Too Large).
Add DefaultBodyLimit::disable() to allow unlimited request bodies.1 parent 3018a71 commit 53bdb38
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| 426 | + | |
426 | 427 | | |
427 | 428 | | |
428 | 429 | | |
| |||
0 commit comments