From 61907ac545aba002c822fd685020999d386e7f68 Mon Sep 17 00:00:00 2001 From: Ludovic Vielle Date: Tue, 27 Oct 2026 16:37:44 +0100 Subject: [PATCH] Remove the deprecated Dialer.DualStack field. Fast Fallback has been the default since Go 1.12, so the setting no longer changes behavior. Signed-off-by: Ludovic Vielle --- httpclient/httpclient.go | 1 - 1 file changed, 1 deletion(-) diff --git a/httpclient/httpclient.go b/httpclient/httpclient.go index 5c8f935..1b3ddd0 100644 --- a/httpclient/httpclient.go +++ b/httpclient/httpclient.go @@ -178,7 +178,6 @@ func createBaseTransport(opts *Options) *http.Transport { dial := &net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, - DualStack: true, } if opts.ssrfProtection { dial.Control = makeSSRFDialControl(opts.ssrfAllowLoopback)