From 0907b59fa793dafc764188c70487a61a720bbc7c Mon Sep 17 00:00:00 2001 From: ananya saxena Date: Sat, 5 Sep 2020 11:46:07 -0400 Subject: [PATCH] net/http: removing DualStack in DefaultTransport Removing `DualStack` from `http.DefaultTransport` since it is deprecated. https://github.com/golang/go/blob/master/src/net/dial.go#L61 --- src/net/http/transport.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/net/http/transport.go b/src/net/http/transport.go index c23042b1e3..ab8fd46fb1 100644 --- a/src/net/http/transport.go +++ b/src/net/http/transport.go @@ -44,7 +44,6 @@ var DefaultTransport RoundTripper = &Transport{ DialContext: (&net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, - DualStack: true, }).DialContext, ForceAttemptHTTP2: true, MaxIdleConns: 100,