I need to do retries for HTTP requests when the connection can't be 
established initially. As soon as there was a successful connection no 
retry should happen anymore. While there is error as return from the 
http.RoundTripper I'm not sure how I can accomplish to find out whether a 
connection was established already or not. One example is that we use the 
`ResponseHeaderTimeout` setting on the Transport and when this expires, we 
get an error as return value but we shouldn't retry. Anyone has an idea how 
to accomplish that?

Many thanks in advance! :-)

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to