|
@@ -89,7 +89,8 @@ type DialConfig struct {
|
|
|
UpstreamProxyUrl string
|
|
UpstreamProxyUrl string
|
|
|
|
|
|
|
|
// UpstreamProxyCustomHeader is a set of additional arbitrary HTTP headers that are
|
|
// UpstreamProxyCustomHeader is a set of additional arbitrary HTTP headers that are
|
|
|
- // added to CONNECT requests made through the upstream proxy specified by UpstreamProxyUrl
|
|
|
|
|
|
|
+ // added to all HTTP requests made through the upstream proxy specified by UpstreamProxyUrl
|
|
|
|
|
+ // in case of HTTP proxy
|
|
|
UpstreamProxyCustomHeaders http.Header
|
|
UpstreamProxyCustomHeaders http.Header
|
|
|
|
|
|
|
|
ConnectTimeout time.Duration
|
|
ConnectTimeout time.Duration
|