Merge 8b725362cab08902e4500af0cd58c5dcdf2862b8 into 5cb25a6410a299dcc31e7f31b41c60c90e30b3f6

This commit is contained in:
Raphael Gavache 2017-07-14 19:07:55 +00:00 committed by GitHub
commit 80d5b0725d

View File

@ -82,6 +82,10 @@ func (c *Context) Copy() *Context {
cp.Writer = &cp.writermem
cp.index = abortIndex
cp.handlers = nil
cp.Keys = map[string]interface{}{}
for k, v := range c.Keys {
cp.Keys[k] = v
}
return &cp
}