Merge branch 'master' of github.com:DNSCrypt/dnscrypt-proxy
* 'master' of github.com:DNSCrypt/dnscrypt-proxy: chore: fix some typos in comments
This commit is contained in:
commit
0af88bc875
|
@ -183,7 +183,7 @@ func FetchCurrentDNSCryptCert(
|
||||||
certCountStr = " - additional certificate"
|
certCountStr = " - additional certificate"
|
||||||
}
|
}
|
||||||
if certInfo.CryptoConstruction == UndefinedConstruction {
|
if certInfo.CryptoConstruction == UndefinedConstruction {
|
||||||
return certInfo, 0, fragmentsBlocked, errors.New("No useable certificate found")
|
return certInfo, 0, fragmentsBlocked, errors.New("No usable certificate found")
|
||||||
}
|
}
|
||||||
return certInfo, int(rtt.Nanoseconds() / 1000000), fragmentsBlocked, nil
|
return certInfo, int(rtt.Nanoseconds() / 1000000), fragmentsBlocked, nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -362,7 +362,7 @@ func findFarthestRoute(proxy *Proxy, name string, relayStamps []stamps.ServerSta
|
||||||
server := proxy.serversInfo.registeredServers[serverIdx]
|
server := proxy.serversInfo.registeredServers[serverIdx]
|
||||||
proxy.serversInfo.RUnlock()
|
proxy.serversInfo.RUnlock()
|
||||||
|
|
||||||
// Fall back to random relays until the logic is implementeed for non-DNSCrypt relays
|
// Fall back to random relays until the logic is implemented for non-DNSCrypt relays
|
||||||
if server.stamp.Proto == stamps.StampProtoTypeODoHTarget {
|
if server.stamp.Proto == stamps.StampProtoTypeODoHTarget {
|
||||||
candidates := make([]int, 0)
|
candidates := make([]int, 0)
|
||||||
for relayIdx, relayStamp := range relayStamps {
|
for relayIdx, relayStamp := range relayStamps {
|
||||||
|
|
Loading…
Reference in New Issue