Commit f7757da7 authored by Jake Lucas's avatar Jake Lucas Committed by Matt Holt

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

parent 13f9c34d
...@@ -48,6 +48,7 @@ var ( ...@@ -48,6 +48,7 @@ var (
defaultDialer = &net.Dialer{ defaultDialer = &net.Dialer{
Timeout: 30 * time.Second, Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second, KeepAlive: 30 * time.Second,
DualStack: true,
} }
bufferPool = sync.Pool{New: createBuffer} bufferPool = sync.Pool{New: createBuffer}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment