mirror of https://github.com/gin-gonic/gin.git
Attempt to fix PostForm cache bug (#1931)
This commit is contained in:
parent
73c4633943
commit
75b9d2bed7
|
@ -83,6 +83,7 @@ func (c *Context) reset() {
|
||||||
c.Errors = c.Errors[0:0]
|
c.Errors = c.Errors[0:0]
|
||||||
c.Accepted = nil
|
c.Accepted = nil
|
||||||
c.queryCache = nil
|
c.queryCache = nil
|
||||||
|
c.formCache = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy returns a copy of the current context that can be safely used outside the request's scope.
|
// Copy returns a copy of the current context that can be safely used outside the request's scope.
|
||||||
|
|
Loading…
Reference in New Issue