TLS ECH: Increase DOH timeout (#5455)

Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com>
This commit is contained in:
patterniha
2025-12-23 13:11:01 +03:30
committed by GitHub
parent 3572209cbd
commit a6792dda69

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)