add minor dev comment
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
02f29b0ef3
commit
4bbf97a309
1
http.go
1
http.go
@ -598,6 +598,7 @@ func NewClient(opts ...client.Option) client.Client {
|
||||
if httpcli, ok := options.Context.Value(httpClientKey{}).(*http.Client); ok {
|
||||
rc.httpcli = httpcli
|
||||
} else {
|
||||
// TODO customTransport := http.DefaultTransport.(*http.Transport).Clone()
|
||||
tr := &http.Transport{
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
DialContext: dialer.DialContext,
|
||||
|
Loading…
x
Reference in New Issue
Block a user