diff --git a/router.go b/router.go index 561db4e2..b070a881 100644 --- a/router.go +++ b/router.go @@ -227,7 +227,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request) } requestPath := r.URL.Path - r.ParseMultipartForm() + r.ParseMultipartForm(MaxMemory) //user defined Handler for pattern, c := range p.userHandlers {