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.
Ok, this is a little more complicated, goreq stops the timer when request is answered, it doesn't care about the request body. I have to check what go does in this case, maybe we could set read timeout to that value or make timer stop when request body is closed.
We would need to replicate this behaviour: https://golang.org/src/net/http/client.go#L530
http://play.golang.org/p/Fjv_Bf_UyH
hangs on ioutil.ReadAll
http://play.golang.org/p/TsXX5MyMC4
timeout works.
we have to override goreq.DefaultClient to set timeout flawlessly
The text was updated successfully, but these errors were encountered: