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
|
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
|
||||||
|
|
Loading…
Reference in New Issue