mirror of
https://github.com/safing/portmaster
synced 2025-09-14 16:59:40 +00:00
Improve resolver unfailing
This commit is contained in:
parent
986e868c27
commit
18617fc617
7 changed files with 52 additions and 3 deletions
|
@ -377,6 +377,10 @@ resolveLoop:
|
|||
if rrCache.RCode != dns.RcodeSuccess && tryAll {
|
||||
continue
|
||||
}
|
||||
|
||||
// Report a successful connection.
|
||||
resolver.Conn.ResetFailure()
|
||||
|
||||
break resolveLoop
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue