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
@@ -30,6 +30,7 @@ func Init(version string) {
DialContext: (&net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
}).DialContext,
MaxIdleConns: 100,
IdleConnTimeout: 90 * time.Second,