From f7757da7edceb23de39e2460fd59068eb5834c93 Mon Sep 17 00:00:00 2001 From: Jake Lucas Date: Sun, 30 Sep 2018 23:17:04 +0900 Subject: [PATCH] proxy: Use DualStack=true in defaultDialer (#2305) --- caddyhttp/proxy/reverseproxy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/caddyhttp/proxy/reverseproxy.go b/caddyhttp/proxy/reverseproxy.go index 4de24ea62..b638bd23d 100644 --- a/caddyhttp/proxy/reverseproxy.go +++ b/caddyhttp/proxy/reverseproxy.go @@ -48,6 +48,7 @@ var ( defaultDialer = &net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, + DualStack: true, } bufferPool = sync.Pool{New: createBuffer}