From a6792dda69f879ba22e16fa9ce49198b22f07aa8 Mon Sep 17 00:00:00 2001 From: patterniha <71074308+patterniha@users.noreply.github.com> Date: Tue, 23 Dec 2025 13:11:01 +0330 Subject: [PATCH] TLS ECH: Increase DOH timeout (#5455) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 风扇滑翔翼 --- transport/internet/tls/ech.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/internet/tls/ech.go b/transport/internet/tls/ech.go index 2cd07c9d..c1c55eff 100644 --- a/transport/internet/tls/ech.go +++ b/transport/internet/tls/ech.go @@ -246,7 +246,7 @@ func dnsQuery(server string, domain string, sockopt *internet.SocketConfig) ([]b }, } c := &http.Client{ - Timeout: 5 * time.Second, + Timeout: 30 * time.Second, Transport: tr, } client, _ = clientForECHDOH.LoadOrStore(serverKey, c)