We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096edf0 commit 97807d8Copy full SHA for 97807d8
pkg/awsauth/settings.go
@@ -187,7 +187,7 @@ func (s Settings) WithHTTPClient() LoadOptionsFunc {
187
if s.ProxyOptions != nil {
188
if client, ok := options.HTTPClient.(*http.Client); ok {
189
if client.Transport == nil {
190
- client.Transport = http.DefaultTransport
+ client.Transport = http.DefaultTransport.(*http.Transport).Clone()
191
}
192
if transport, ok := client.Transport.(*http.Transport); ok {
193
err := proxy.New(s.ProxyOptions).ConfigureSecureSocksHTTPProxy(transport)
0 commit comments