Skip to content

Commit 7602d41

Browse files
ananyasaxenaneild
authored andcommitted
net/http: remove DualStack in DefaultTransport
Removing `DualStack` from `http.DefaultTransport` since it is deprecated https://github.com/golang/go/blob/master/src/net/dial.go#L61 Change-Id: Id8ea1e68796ef8a8d49f7a04d0c4815aa92a1804 GitHub-Last-Rev: 0907b59 GitHub-Pull-Request: #41233 Reviewed-on: https://go-review.googlesource.com/c/go/+/253198 Reviewed-by: Damien Neil <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> Trust: Damien Neil <[email protected]> Trust: Brad Fitzpatrick <[email protected]>
1 parent 21e441c commit 7602d41

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/net/http/transport.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ var DefaultTransport RoundTripper = &Transport{
4444
DialContext: (&net.Dialer{
4545
Timeout: 30 * time.Second,
4646
KeepAlive: 30 * time.Second,
47-
DualStack: true,
4847
}).DialContext,
4948
ForceAttemptHTTP2: true,
5049
MaxIdleConns: 100,

0 commit comments

Comments
 (0)