Closed Bug 1805372 Opened 2 years ago Closed 2 years ago

Pass effectiveTRRMode to nsHttpChannel from socketTransport.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files)

The patch in bug 1596845 only works when network.dns.disablePrefetch = false.
If DNS prefetch is disabled, the channel doesn't get OnLookupComplete so we have to take the effectiveTRRMode from the transaction/socketTransport.

This might be tricky, as we don't always deliver OnTransportStatus notification when the resolution fails.

The Bugbug bot thinks this bug should belong to the 'Core::Networking: DNS' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Networking: DNS
Product: Firefox → Core
Assignee: nobody → valentin.gosu
Attachment #9307966 - Attachment description: WIP: Bug 1805372 - WIP: Pass effectiveTRRMode to nsHttpChannel from socketTransport. → Bug 1805372 - Pass effectiveTRRMode to nsHttpChannel from socketTransport/DnsAndConnectSocket r=#necko
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/521c9e019678 Pass effectiveTRRMode to nsHttpChannel from socketTransport/DnsAndConnectSocket r=necko-reviewers,kershaw
Regressions: 1822354
Flags: needinfo?(valentin.gosu)
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/8e7c97a37073 Pass effectiveTRRMode to nsHttpChannel from socketTransport/DnsAndConnectSocket r=necko-reviewers,kershaw
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Regressions: 1822801
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: