mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
minor
Former-commit-id: fef022dc8d2f396f611d958d9f9e6993d2c770d8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user