Fix context.Params race condition on Copy() (#1841)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* Fix context.Params race condition on Copy() Using context.Param(key) on a context.Copy inside a goroutine may lead to incorrect value on a high load, where another request overwrite a Param * Using waitgroup to wait asynchronous test case
authored by Samuel Abreu · committed by 田欧 · parent 35e33d3 · Browse files · 2 files+26 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+26 added−0 removed
- other:+26 added−0 removed