Closed
Bug 2072592
Opened 16 days ago
Closed 9 days ago
Happy Eyeballs treats stale negative DNS answers as fresh, so they are never revalidated
Categories
(Core :: Networking, defect, P2)
Core
Networking
Tracking
()
RESOLVED
FIXED
158 Branch
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: kershaw, Assigned: kershaw)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(2 files)
HappyEyeballsConnectionAttempt forwards each DNS result to the Rust state machine with a flag indicating whether it came from the stale cache. For successful lookups, it reads the actual value using nsIDNSAddrRecord::GetFromStaleCache or nsIDNSByTypeRecord::GetFromStaleCache. However, for negative, failed, or empty results, it always sets the flag to false.
As a result, a negative response served from the stale cache is incorrectly reported to the state machine as fresh.
| Assignee | ||
Comment 1•10 days ago
|
||
Updated•10 days ago
|
Assignee: nobody → kershaw
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•10 days ago
|
||
Depends on D328157
Pushed by kjang@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/529ed25e6d92
https://hg.mozilla.org/integration/autoland/rev/192c57aa765f
Add a grace period for negative DNS cache entries r=necko-reviewers,valentin
https://github.com/mozilla-firefox/firefox/commit/7d9725ea0765
https://hg.mozilla.org/integration/autoland/rev/5eb4bd40584f
Forward the stale-cache flag for negative DNS answers to Happy Eyeballs state machine, r=necko-reviewers,valentin
Comment 4•9 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/192c57aa765f
https://hg.mozilla.org/mozilla-central/rev/5eb4bd40584f
Status: ASSIGNED → RESOLVED
Closed: 9 days ago
status-firefox158:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
Updated•3 days ago
|
QA Whiteboard: [qa-triage-done-c159/b158]
You need to log in
before you can comment on or make changes to this bug.
Description
•