[#7575] use memory+file buffer when rereading the request body (fix #7572)

This commit is contained in:
Gani Georgiev
2026-03-09 17:19:09 +02:00
parent 93e3eb3a35
commit ba8b51af58
9 changed files with 454 additions and 35 deletions

View File

@@ -322,7 +322,7 @@ func (e *Event) InternalServerError(message string, errData any) *ApiError {
// Binders
// -------------------------------------------------------------------
const DefaultMaxMemory = 32 << 20 // 32mb
const DefaultMaxMemory = 16 << 20 // 16mb
// BindBody unmarshal the request body into the provided dst.
//