11 // Transport that should be used when a custom CA bundle is specified with the
13 func getCABundleTransport() *http.Transport {
14 return &http.Transport{
15 Proxy: http.ProxyFromEnvironment,
16 DialContext: (&net.Dialer{
17 Timeout: 30 * time.Second,
18 KeepAlive: 30 * time.Second,
22 IdleConnTimeout: 90 * time.Second,
23 TLSHandshakeTimeout: 10 * time.Second,
24 ExpectContinueTimeout: 1 * time.Second,