Merge pull request #9367 from bobrik/dualstack

Enable dualstack in every net.Dialer, fixes #9364
This commit is contained in:
Carl Bergquist
2017-09-28 11:15:49 +02:00
committed by GitHub
6 changed files with 8 additions and 2 deletions
+1
View File
@@ -25,6 +25,7 @@ var pluginProxyTransport = &http.Transport{
Dial: (&net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
}).Dial,
TLSHandshakeTimeout: 10 * time.Second,
}
+1
View File
@@ -19,6 +19,7 @@ var grafanaComProxyTransport = &http.Transport{
Dial: (&net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
}).Dial,
TLSHandshakeTimeout: 10 * time.Second,
}