Closed k3a closed 6 years ago
Use the actual timeout for http client.
There should also be a default timeout of 30 minutes for example so that every request finishes at some point eventually (see https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779)
This is addressed in #107, which sets the timeout in SetTimeout. I agree a default timeout would make sense.
SetTimeout
Use the actual timeout for http client.
There should also be a default timeout of 30 minutes for example so that every request finishes at some point eventually (see https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779)