1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 20:41:57 +00:00
Former-commit-id: fef022dc8d2f396f611d958d9f9e6993d2c770d8
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-06-07 18:15:55 +03:00
parent 791fd7ac3d
commit 34d0d98130
3 changed files with 4 additions and 2 deletions

View File

@@ -328,7 +328,7 @@ func WithCharset(charset string) Configurator {
// from the overral request body size which can be modified
// by the `context#SetMaxRequestBodySize` or `iris#LimitRequestBodySize`.
//
// Defaults to 32MB or 32 << 20 if you prefer.
// Defaults to 32MB or 32 << 20 or 32*iris.MB if you prefer.
func WithPostMaxMemory(limit int64) Configurator {
return func(app *Application) {
app.config.PostMaxMemory = limit