You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.
So any .Do() call with request which have redirect can replace redirectFailed value of other request without redirect, so .Do() return results which change each other.
The text was updated successfully, but these errors were encountered:
vvelikodny
changed the title
Concurrency issue: call .Do() in different goroutines replace CheckRedirect to last one
Concurrency issue: call .Do() in different goroutines replace CheckRedirect of singleton client
Sep 8, 2016
I found a bug when call
.Do()
func in some goroutines concurrently which process requests with redirects.Each time we call
.Do()
, CheckRedirect will be replaced hereSo any .Do() call with request which have redirect can replace
redirectFailed
value of other request without redirect, so.Do()
return results which change each other.The text was updated successfully, but these errors were encountered: