From 67f7195ba103f811ff86eba2b14c5aaa57dbfd20 Mon Sep 17 00:00:00 2001 From: s1d3sw1ped_bot <12+s1d3sw1ped_bot@git.s1d3sw1ped.com> Date: Tue, 1 Sep 2026 01:03:10 +0000 Subject: [PATCH] Drop deprecated net.Dialer.DualStack (SA1019). Happy Eyeballs is the default since Go 1.12; keep dual-stack behavior without the deprecated field so golangci-lint v2.13.2 stays green. --- steamcache/steamcache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steamcache/steamcache.go b/steamcache/steamcache.go index fc943a3..7dea73e 100644 --- a/steamcache/steamcache.go +++ b/steamcache/steamcache.go @@ -357,7 +357,7 @@ func newHTTPTransport() *http.Transport { DialContext: (&net.Dialer{ Timeout: 10 * time.Second, // Faster connection timeout KeepAlive: 60 * time.Second, // Longer keep-alive - DualStack: true, // Enable dual-stack (IPv4/IPv6) + // Dual-stack Happy Eyeballs is the default since Go 1.12 (DualStack is deprecated). }).DialContext, // Timeout optimizations