mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-24 02:02:26 -04:00
proxy: Use DualStack=true in defaultDialer (#2305)
This commit is contained in:
parent
13f9c34d16
commit
f7757da7ed
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user