TLS ECH: Increase DOH timeout (#5455)

Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com>
This commit is contained in:
patternihaand风扇滑翔翼 authored and GitHub committed 2025-12-23 09:41:01 +00:00
1 parent 3572209cbd
commit a6792dda69
1 file changed
+1 -1
+1 -1
View File
@@ -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)