You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func (r *Request) ParseMultipartForm(maxMemory int64) error might return an error like this: write /tmp/multipart-296085692: no space left on device. In such case, func (c *Context) GetPostForm(key string) (string, bool) will return '', nil if we try to get parts other than file, without any information logged regarding the actual error.
I think the error should not be ignored when req.ParseMultipartForm(32 << 20) is called.
The text was updated successfully, but these errors were encountered:
archerwq
changed the title
No error logged if parsing large file in multipart/form-data failed
No error logged if parsing large file in multipart/form-data fails
Feb 9, 2018
func (r *Request) ParseMultipartForm(maxMemory int64) error
might return an error like this:write /tmp/multipart-296085692: no space left on device
. In such case,func (c *Context) GetPostForm(key string) (string, bool)
will return'', nil
if we try to get parts other than file, without any information logged regarding the actual error.I think the error should not be ignored when
req.ParseMultipartForm(32 << 20)
is called.The text was updated successfully, but these errors were encountered: