cluster proxy transport disable keepalive
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
This commit is contained in:
parent
e76ce6355b
commit
122ff3a07c
|
@ -185,6 +185,7 @@ func createProxyTransport(cluster *clusterapis.Cluster, tlsConfig *tls.Config) (
|
|||
trans := utilnet.SetTransportDefaults(&http.Transport{
|
||||
DialContext: proxyDialerFn,
|
||||
TLSClientConfig: tlsConfig,
|
||||
DisableKeepAlives: true,
|
||||
})
|
||||
|
||||
if proxyURL := cluster.Spec.ProxyURL; proxyURL != "" {
|
||||
|
|
Loading…
Reference in New Issue