Closed Bug 888267 Opened 11 years ago Closed 11 years ago

Expose Spdy version in Networking Dashboard

Categories

(Core :: Networking, defect)

21 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 888583

People

(Reporter: robertbindar, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130512193848

Steps to reproduce:

If a connexion uses spdy, now the version of it will be accessible in Dashboard.cpp
Attachment #768925 - Flags: review?(valentin.gosu)
Comment on attachment 768925 [details] [diff] [review]
Expose the spdy version in Dashboard.cpp

Review of attachment 768925 [details] [diff] [review]:
-----------------------------------------------------------------

::: netwerk/protocol/http/nsHttpConnectionMgr.cpp
@@ +3322,5 @@
>      for (uint32_t i = 0; i < ent->mIdleConns.Length(); i++) {
>          HttpConnInfo info;
>          info.ttl = ent->mIdleConns[i]->TimeToLive();
>          info.rtt = ent->mIdleConns[i]->Rtt();
> +        info.spdyVersion = ent->mIdleConns[i]->GetSpdyVersion();

spdy connections are never in the idleconns array

can you make this so it reports http/1 version numbers too as we talked about on irc?
Attachment #768925 - Attachment is obsolete: true
Attachment #768925 - Flags: review?(valentin.gosu)
Attachment #769324 - Flags: review?(valentin.gosu)
:mcmanus i'm working on that, thanks.
Comment on attachment 769324 [details] [diff] [review]
Expose the spdy version in about:networking

Review of attachment 769324 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good but you should try to have one field for both spdy and http as per Patrick's comment in Bug 888583.

::: dom/webidl/NetDashboard.webidl
@@ +16,5 @@
>  
>  dictionary HttpConnInfoDict {
>  	sequence<unsigned long> rtt;
>  	sequence<unsigned long> ttl;
> +  sequence<octet> spdyVersion;

Try to keep the same indentation. It's best that you change it for the other 2 fields.
Attachment #769324 - Flags: review?(valentin.gosu)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: