Skip to content

Commit

Permalink
Clear certIgnoreTimestamp if we found at live 1 live server
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jan 21, 2018
1 parent 8bcba92 commit 6ca2697
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dnscrypt-proxy/serversInfo.go
Expand Up @@ -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
Expand Down

0 comments on commit 6ca2697

Please sign in to comment.