Skip to content

Commit

Permalink
Bug 1650356 - Clear TRR blocklist when confirmation is done r=dragana…
Browse files Browse the repository at this point in the history
…,necko-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D82218
  • Loading branch information
valenting committed Jul 11, 2020
1 parent e9d9fac commit 4d0be14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netwerk/dns/TRRService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,9 @@ AHostResolver::LookupStatus TRRService::CompleteLookup(
mRetryConfirmInterval *= 2;
}
} else {
// A fresh confirmation means previous blocked entries might not
// be valid anymore.
mClearTRRBLStorage = true;
if (mMode != MODE_TRRONLY) {
// don't accumulate trronly data here since trronly failures are
// handled above by trying again, so counting the successes here would
Expand Down

0 comments on commit 4d0be14

Please sign in to comment.