See #18736
Change-Id: I9c16357c05c16db677125d3077ee466b71559c7a
Reviewed-on: https://go-review.googlesource.com/38343
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
"time"
"cmd/internal/objfile"
+
"github.com/google/pprof/driver"
"github.com/google/pprof/profile"
)
client := &http.Client{
Transport: &http.Transport{
ResponseHeaderTimeout: timeout + 5*time.Second,
- TLSClientConfig: tlsConfig,
+ Proxy: http.ProxyFromEnvironment,
+ TLSClientConfig: tlsConfig,
},
}
resp, err := client.Get(source)