mirror of
https://github.com/astaxie/beego.git
synced 2025-06-12 23:40:39 +00:00
fix 4224:form entity too large casue run out of memory
This commit is contained in:
@ -266,7 +266,7 @@ func (input *BeegoInput) SetData(key, val interface{}) {
|
||||
|
||||
// ParseFormOrMulitForm parseForm or parseMultiForm based on Content-type
|
||||
func (input *BeegoInput) ParseFormOrMulitForm(maxMemory int64) error {
|
||||
return (*context.BeegoInput)(input).ParseFormOrMulitForm(maxMemory)
|
||||
return (*context.BeegoInput)(input).ParseFormOrMultiForm(maxMemory)
|
||||
}
|
||||
|
||||
// Bind data from request.Form[key] to dest
|
||||
|
Reference in New Issue
Block a user