[network-markers] Expose http protocol version for a request in the profiler network tab
Categories
(Core :: Gecko Profiler, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox134 | --- | fixed |
People
(Reporter: acreskey, Assigned: sekim)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fp])
Attachments
(1 file)
There are vast differences between version of the HTTP protocol, 1.1/2/3, and it would be useful to have this exposed in the profiler.
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Comment 3•1 year ago
|
||
| bugherder | ||
| Assignee | ||
Comment 4•1 year ago
|
||
| Reporter | ||
Comment 5•1 year ago
|
||
This might not be working as expected -- I'm always seeing HTTP/1.1 for the version.
But when I load a site like Cloudflare I can verify via dev tools or logs that I'm connecting over HTTP/2 or HTTP/3
Sean, can you take a look?
| Assignee | ||
Comment 6•1 year ago
•
|
||
I think this has to do with the fact that we return "http/1.1" when HttpVersion is invalid or unavailable. We might need to return something else or create a separate method like our initial approach.
| Assignee | ||
Updated•1 year ago
|
Comment 8•1 year ago
|
||
(In reply to Sean Kim from comment #7)
Kershaw, any thoughts on this?
Looking at your patch again.
It looks like at every place of profiler_add_network_marker, you are using mRequestHead.Version().
I think we should use the version from mResponseHead instead.
Note that mResponseHead will be only available after OnStartRequest, so we need to take care of this.
| Assignee | ||
Comment 9•1 year ago
|
||
Will file another bug for easier version tracking
Updated•6 months ago
|
Updated•5 months ago
|
Description
•