Closed Bug 1666723 Opened 4 years ago Closed 4 years ago

Remember whether a server is speaking HTTP3

Categories

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

task

Tracking

()

RESOLVED FIXED
84 Branch
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

Blocks: 1657169

I would pick this up.

Hi dragana,
Please i've got some clarifications and questions

  1. I would need to add a new telemetry definition to the Histogram file, is that correct?
  2. Is there any documentation explaining the conventions to follow for creating definitions?
  3. For the telemetry , would a boolean recording whether Http3 was advertised in a AltSvc be enough or do i store the http3 version string?
  4. Is there any quick way test that the telemetry added works?

Thanks alot.

Flags: needinfo?(dd.mozilla)
Assignee: nobody → hmanilla

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.

Flags: needinfo?(dd.mozilla)

he variable is just a bool.

Ok that makes sense

Thanks

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
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: