Skip to content

Commit 6ca2697

Browse files
committed
Clear certIgnoreTimestamp if we found at live 1 live server
1 parent 8bcba92 commit 6ca2697

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dnscrypt-proxy/serversInfo.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ func (serversInfo *ServersInfo) refresh(proxy *Proxy) (int, error) {
109109
serversInfo.inner = inner
110110
if innerLen > 1 {
111111
dlog.Noticef("Server with the lowest initial latency: %s (rtt: %dms)", inner[0].Name, inner[0].initialRtt)
112+
proxy.certIgnoreTimestamp = false
112113
}
113114
serversInfo.Unlock()
114115
return liveServers, err

0 commit comments

Comments
 (0)