mirror of
https://github.com/kataras/iris.git
synced 2026-03-08 01:16:30 +00:00
@@ -130,7 +130,7 @@ func (s *Framework) initialize() {
|
||||
s.Handle(MethodGet, debugPath+"/*action", profileMiddleware(debugPath)...)
|
||||
}
|
||||
|
||||
if s.Config.MaxRequestBodySize > 0 {
|
||||
if s.Config.MaxRequestBodySize > config.DefaultMaxRequestBodySize {
|
||||
s.HTTPServer.MaxRequestBodySize = int(s.Config.MaxRequestBodySize)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user