MaxBodyBytes was set to exactly the configured max file size, but a multipart request carries extra bytes (boundary, part headers) on top of the file, so a file at the limit could be rejected by Huma before the handler runs. Mirror the +2 MB overhead that Echo's global BodyLimit middleware already allows so a max-sized avatar isn't rejected. |
||
|---|---|---|
| .. | ||
| scalar | ||
| admin_projects.go | ||
| avatar.go | ||
| avatar_upload.go | ||
| docs.go | ||
| errors.go | ||
| errors_test.go | ||
| huma.go | ||
| labels.go | ||
| project_views.go | ||
| task_duplicate.go | ||
| types.go | ||