Skip to content

Commit a6792dd

Browse files
TLS ECH: Increase DOH timeout (#5455)
Co-authored-by: 风扇滑翔翼 <[email protected]>
1 parent 3572209 commit a6792dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transport/internet/tls/ech.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ func dnsQuery(server string, domain string, sockopt *internet.SocketConfig) ([]b
246246
},
247247
}
248248
c := &http.Client{
249-
Timeout: 5 * time.Second,
249+
Timeout: 30 * time.Second,
250250
Transport: tr,
251251
}
252252
client, _ = clientForECHDOH.LoadOrStore(serverKey, c)

0 commit comments

Comments
 (0)