Closed Bug 1652717 Opened 4 years ago Closed 4 years ago

HTTPSSVC records that advertise HTTP3 will need HappyEyeballing

Categories

(Core :: Networking: HTTP, task, P2)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: dragana, Assigned: kershaw)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files)

HTTP3 uses UDP as the underlying protocol which may not work on all networks paths.

When a HTTP3 support is advertise using AltSvc header/frame, Firefox tries to connect to the HTTP3 server to verify that network path supports HTTP3 before using HTTP3 for actual requests. In case a user changes the network Firefox will not verify the network path again but it will use Happy-eyeballing to make fallback faster (bug 1648558). It will need a similar mechanism in thee case a support for HTTP3 was advertise by HTTPSSVC.

Approach:
A nsHttpTransaction starts a connection to HTTP3 server (described in bug 1652677 Description step iii and iv). If the connection is not ready after 50ms the transaction should start another connection that does not use HTTP3 if such a SvcDomainName with echconfig and IPs addresses is available. If such a SvcDomainName is not available the transaction starts connection when it becomes available.

Assignee: nobody → kershaw
Status: NEW → ASSIGNED
Whiteboard: [necko-triaged]
Pushed by kjang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/018c0eebe944
P1: Make sure we can connect to Http3 server according to HTTPS RR r=necko-reviewers,valentin,dragana
https://hg.mozilla.org/integration/autoland/rev/ab09fd84e0e4
P2: Implement fast fallback when H3 is used r=necko-reviewers,valentin,dragana
Regressions: 1669521
Flags: needinfo?(kershaw)
Pushed by kjang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7b36c882d33b
P1: Make sure we can connect to Http3 server according to HTTPS RR r=necko-reviewers,valentin,dragana
https://hg.mozilla.org/integration/autoland/rev/1fc2eee62b5a
P2: Implement fast fallback when H3 is used r=necko-reviewers,valentin,dragana
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: