Skip to content

Commit 0907b59

Browse files
authored
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
1 parent bf833ea commit 0907b59

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)