forked from mirror/gin
Fix: missing `sameSite` when do context.reset() (#3123)
This commit is contained in:
parent
888b14ab28
commit
6854212698
|
@ -98,6 +98,7 @@ func (c *Context) reset() {
|
|||
c.Accepted = nil
|
||||
c.queryCache = nil
|
||||
c.formCache = nil
|
||||
c.sameSite = 0
|
||||
*c.params = (*c.params)[:0]
|
||||
*c.skippedNodes = (*c.skippedNodes)[:0]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue