Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Json extractor to be 32kB by default
While technically the default limit for `JsonBody` is indeed 256kB when called through `JsonBody::new`, in practice the limit is always set to 32kB for every context where `JsonBody` is used (via `JsonConfig`). This is also consistent with the documentation of the `JsonError::Overflow`, which mentions a default maximum of `32kB`. This commit changes the default to also be `32kB` instead of `256kB`.
- Loading branch information