Closed Bug 1650356 Opened 5 years ago Closed 5 years ago

Clear TRR blocklist when confirmation is done

Categories

(Core :: Networking: DNS, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(4 files, 1 obsolete file)

After a fresh confirmation we should clear the blocklist as we may be under different network conditions now.

We also wrap it in a DataMutex to allow use on any thread

Depends on D82219

Since IsTemporarilyBlocked no longer calls IsExcludedFromTRR we have to do
this explicitly at this call site.

Depends on D82220

Due to a change in timing in this patch, when we reset the confirmation pref
at the end of the test, a TRR request would happen after we changed the prefs
leading to accessing a non-local IP in testing and causing a crash.
This should be gated on being in the correct mode anyway

Depends on D82221

Comment on attachment 9161320 [details]
Bug 1650356 - Only trigger confirmation in TRR-first and TRR-only modes r=dragana

Revision D82222 was moved to bug 1649127. Setting attachment 9161320 [details] to obsolete.

Attachment #9161320 - Attachment is obsolete: true
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d6d509edebff Clear TRR blocklist when confirmation is done r=dragana,necko-reviewers https://hg.mozilla.org/integration/autoland/rev/831781e4736b Rename TRR Blacklist to TRR blocklist r=dragana,necko-reviewers https://hg.mozilla.org/integration/autoland/rev/69f6fd5ca736 Make the TRRBLStorage a hashtable r=dragana,necko-reviewers https://hg.mozilla.org/integration/autoland/rev/5e545e56ab2b Call IsExcludedFromTRR in TRR::SendHTTPRequest r=dragana,necko-reviewers
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: