Don't follow redirects with spdy

Kubernetes-commit: e1069c64956a43f628d8ae2fcd9107959747c1c6
This commit is contained in:
Tim Allclair
2022-03-04 16:08:58 -08:00
committed by Kubernetes Publisher
parent b307538aa1
commit 8c38cf359a

View File

@@ -45,8 +45,6 @@ func RoundTripperFor(config *restclient.Config) (http.RoundTripper, Upgrader, er
}
upgradeRoundTripper := spdy.NewRoundTripperWithConfig(spdy.RoundTripperConfig{
TLS: tlsConfig,
FollowRedirects: true,
RequireSameHostRedirects: false,
Proxier: proxy,
PingPeriod: time.Second * 5,
})