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:
parent
13f9c34d16
commit
f7757da7ed
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ var (
|
|||
defaultDialer = &net.Dialer{
|
||||
Timeout: 30 * time.Second,
|
||||
KeepAlive: 30 * time.Second,
|
||||
DualStack: true,
|
||||
}
|
||||
|
||||
bufferPool = sync.Pool{New: createBuffer}
|
||||
|
|
Loading…
Reference in a new issue