Closed
Bug 1978542
Opened 28 days ago
Closed 21 days ago
When using DoH, DNS cache entries are unexpectedly cleared after network change
Categories
(Core :: Networking: DNS, defect, P2)
Core
Networking: DNS
Tracking
()
RESOLVED
FIXED
143 Branch
Tracking | Status | |
---|---|---|
firefox143 | --- | fixed |
People
(Reporter: kershaw, Assigned: kershaw)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [necko-triaged] [necko-priority-queue])
Attachments
(1 file)
When the network changes, we call FlushCache to purge DNS cache entries that were not resolved via DoH (aTrrToo
is false). The rationale is that DoH responses come from a remote TRR server, so there’s no need to clear them when the user switches networks.
However, we currently call FlushEvictionQ
here, which effectively removes the entry from the cache database. As a result, DNS cache entries are being cleared unexpectedly.
Assignee | ||
Comment 1•27 days ago
|
||
Updated•27 days ago
|
Assignee: nobody → kershaw
Status: NEW → ASSIGNED
Pushed by kjang@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/9ab209c7ab8f
https://hg.mozilla.org/integration/autoland/rev/c1b4ea2abcab
Don't flush eviction queue when netowrk changed, r=necko-reviewers,jesup
Comment 3•21 days ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 21 days ago
status-firefox143:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•