mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-12-27 00:12:31 +01:00
Keep resolving if needed
This commit is contained in:
parent
d932d5fdfc
commit
a84a789a8a
@ -253,7 +253,7 @@ func (xTransport *XTransport) resolveWithCache(host string) (err error) {
|
||||
return
|
||||
}
|
||||
cachedIP, expired := xTransport.loadCachedIP(host)
|
||||
if !expired {
|
||||
if cachedIP != nil && !expired {
|
||||
return
|
||||
}
|
||||
var foundIP net.IP
|
||||
|
Loading…
Reference in New Issue
Block a user