Clear certIgnoreTimestamp if we found at live 1 live server

This commit is contained in:
Frank Denis 2018-01-21 18:14:37 +01:00
parent 8bcba92f97
commit 6ca2697128
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ func (serversInfo *ServersInfo) refresh(proxy *Proxy) (int, error) {
serversInfo.inner = inner serversInfo.inner = inner
if innerLen > 1 { if innerLen > 1 {
dlog.Noticef("Server with the lowest initial latency: %s (rtt: %dms)", inner[0].Name, inner[0].initialRtt) dlog.Noticef("Server with the lowest initial latency: %s (rtt: %dms)", inner[0].Name, inner[0].initialRtt)
proxy.certIgnoreTimestamp = false
} }
serversInfo.Unlock() serversInfo.Unlock()
return liveServers, err return liveServers, err