callctx: race condition #325
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
callctx.SetHeaders
is not concurrent safe.I'm not sure if this is by design or potentially a bug.
It should be explicit in the comment section if it is designed to be non-concurrent safe.
Environment details
Steps to reproduce
For more information, I'm using this to search places in Google Maps, then foreach place, I do parallel calls to retrieve place details where I naively reused the same context and hit this error.
The text was updated successfully, but these errors were encountered: