mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-21 03:15:47 +01:00
Clear certIgnoreTimestamp if we found at live 1 live server
This commit is contained in:
parent
8bcba92f97
commit
6ca2697128
@ -109,6 +109,7 @@ func (serversInfo *ServersInfo) refresh(proxy *Proxy) (int, error) {
|
||||
serversInfo.inner = inner
|
||||
if innerLen > 1 {
|
||||
dlog.Noticef("Server with the lowest initial latency: %s (rtt: %dms)", inner[0].Name, inner[0].initialRtt)
|
||||
proxy.certIgnoreTimestamp = false
|
||||
}
|
||||
serversInfo.Unlock()
|
||||
return liveServers, err
|
||||
|
Loading…
Reference in New Issue
Block a user