reset methodsAllowed on contexts in sync pool
This commit is contained in:
parent
245295424d
commit
9dd8b4a7b5
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ func (x *Context) Reset() {
|
|||
x.routeParams.Keys = x.routeParams.Keys[:0]
|
||||
x.routeParams.Values = x.routeParams.Values[:0]
|
||||
x.methodNotAllowed = false
|
||||
x.methodsAllowed = x.methodsAllowed[:0]
|
||||
x.parentCtx = nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue