proxy: Use DualStack=true in defaultDialer (#2305)

pull/2543/head^2
Jake Lucas 2018-09-30 23:17:04 +09:00 committed by Matt Holt
parent 13f9c34d16
commit f7757da7ed
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ var (
defaultDialer = &net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
}
bufferPool = sync.Pool{New: createBuffer}