I'm make a simple http request with immutable header, immutable request 
timeout

Which is prefered when writing a program with http client

1. request concurrently with a global http client
2. request concurrently with `http.DefaultClient.Do(req)`

They seems both cache and reuse http connection. Are there any performance 
difference between them?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/8257cf94-7155-4da6-aa4d-a4e76cd7619bn%40googlegroups.com.

Reply via email to