I would be surprised if there were any performance differences (unless
you configured the client differently), since the only difference is
whether you're using a global client that you created or one that the
http package created.
Andy
On 11/30/20 9:58 AM, jun min wrote:
I'm make a simple ht
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.