0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-06 22:40:31 -05:00

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

This commit is contained in:
Jake Lucas 2018-09-30 23:17:04 +09:00 committed by Matt Holt
parent 13f9c34d16
commit f7757da7ed

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}