Remember whether a server is speaking HTTP3
Categories
(Core :: Networking: HTTP, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: dragana, Assigned: bomsy)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(2 files)
This is a info that we need for HTTP3 performance telemetry.
We want to record in the nsHttpChannel whether Http3 was advertised in a AltSvc.
We parse AltSvc here:
https://searchfox.org/mozilla-central/rev/35d927df97900a57ecb562ad13909e392440b0fb/netwerk/protocol/http/nsHttpChannel.cpp#2531
Just before that line we should parse the string and look for one of this strings:
https://searchfox.org/mozilla-central/rev/35d927df97900a57ecb562ad13909e392440b0fb/netwerk/protocol/http/nsHttp.cpp#31
Assignee | ||
Comment 1•4 years ago
•
|
||
I would pick this up.
Hi dragana,
Please i've got some clarifications and questions
- I would need to add a new telemetry definition to the Histogram file, is that correct?
- Is there any documentation explaining the conventions to follow for creating definitions?
- For the telemetry , would a boolean recording whether Http3 was advertised in a AltSvc be enough or do i store the http3 version string?
- Is there any quick way test that the telemetry added works?
Thanks alot.
Assignee | ||
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
Hi, I should have been more specific. In this bug we will only add a variable to Http3Channel. We will not add any telemetry probes. We need this flag for the telemetry probes described in bug 1657169 and in couple other bugs that I need to open.
Reporter | ||
Comment 3•4 years ago
|
||
he variable is just a bool.
Assignee | ||
Comment 4•4 years ago
|
||
Ok that makes sense
Thanks
Assignee | ||
Comment 5•4 years ago
|
||
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D93137
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6a10a3a34f8f Track that http3 is advertised / supported r=dragana,necko-reviewers,valentin
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c84ca8e6e685 Expose and add a test r=dragana,necko-reviewers
Comment 9•4 years ago
|
||
bugherder |
Comment 10•4 years ago
|
||
bugherder |
Description
•