Closed
Bug 414477
Opened 18 years ago
Closed 18 years ago
https should run with pipelining
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
People
(Reporter: sayrer, Assigned: dwitte)
References
Details
(Keywords: perf)
Attachments
(1 file, 1 obsolete file)
|
4.71 KB,
patch
|
dwitte
:
review+
shaver
:
superreview+
mconnor
:
approval1.9+
|
Details | Diff | Splinter Review |
Proxies can't mess with the traffic, so we should try enabling pipelining on these connections.
Updated•18 years ago
|
OS: Mac OS X → All
Hardware: PC → All
Version: unspecified → Trunk
| Assignee | ||
Comment 2•18 years ago
|
||
pretty sure this does what we want.
1) add network.http.pipelining.ssl pref
2) default it to on for firefox
3) if it's set, and we're ssl, twiddle the pipelining flag
(note - if the pref is set to false, we won't *untwiddle* the pipelining flag - so this can only be used to turn it on for ssl. if there's a use case the other way, could implement that.)
we don't want ui for this, right?
tested this loading https://mail.google.com, and of all nsHttpChannel transactions, 33 were pipelined and 12 weren't (because of explicit disabling; see http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp&rev=1.326#472)
| Assignee | ||
Comment 3•18 years ago
|
||
we should update the docs at http://www.mozilla.org/quality/networking/docs/netprefs.html and possibly elsewhere to reflect this pref.
| Assignee | ||
Updated•18 years ago
|
Attachment #301071 -
Flags: review?(cbiesinger)
Comment 4•18 years ago
|
||
Comment on attachment 301071 [details] [diff] [review]
v1
oh, easier than I thought :)
Attachment #301071 -
Flags: review?(cbiesinger) → review+
| Reporter | ||
Updated•18 years ago
|
Attachment #301071 -
Flags: superreview?(shaver)
Why Firefox-only? Why not just turn it on for all Gecko consumers?
| Assignee | ||
Comment 6•18 years ago
|
||
would everyone want this? if so, i'm fine with doing it. (i'll just do it on checkin if shaver's opinion is favorable.)
| Reporter | ||
Comment 7•18 years ago
|
||
(In reply to comment #6)
> would everyone want this?
Can be done in a follow-up if they do.
Comment 8•18 years ago
|
||
User-agent is badly overloaded, but we have a policy that Gecko rv: means the same capabilities no matter what browser or other UA-like app, and capabilities seems to me to include SSL pipelining.
Also, if it's good for Firefox, it's good for Camino, etc.
Either argument is enough.
/be
| Assignee | ||
Comment 9•18 years ago
|
||
alright, let's just do that.
Attachment #301071 -
Attachment is obsolete: true
Attachment #301455 -
Flags: superreview?(shaver)
Attachment #301455 -
Flags: review+
Attachment #301071 -
Flags: superreview?(shaver)
Comment 10•18 years ago
|
||
Comment on attachment 301071 [details] [diff] [review]
v1
sr=shaver
Attachment #301071 -
Flags: superreview+
Comment 11•18 years ago
|
||
Comment on attachment 301455 [details] [diff] [review]
v2
sr=shaver on the right patch
Attachment #301455 -
Flags: superreview?(shaver) → superreview+
| Assignee | ||
Comment 12•18 years ago
|
||
Comment on attachment 301455 [details] [diff] [review]
v2
yay! requesting approval.
Attachment #301455 -
Flags: approval1.9?
| Reporter | ||
Comment 13•18 years ago
|
||
Drivers: this is could help SSL perf in some use cases. It doesn't fix the head-of-line blocking that hobbles HTTP, but maybe it will make a difference for sites with lots of static resources.
It is the right way to unwedge pipelining, because it will expose bugs in proxies, but only those under the control of origin servers, behind the SSL termination point. The crucial distinction is that sites won't be victims of proxies they don't control.
That said, if nightlies and beta4 expose widespread compat problems, this is easy to turn off.
Comment 14•18 years ago
|
||
(In reply to comment #13)
> Drivers: this is could help SSL perf in some use cases. It doesn't fix the
> head-of-line blocking that hobbles HTTP, but maybe it will make a difference
> for sites with lots of static resources.
AMO is one such site, I suspect, even via the API.
(I'm assuming the netscalers don't botch pipelining, but that might be worth testing ahead of check-in if people are bored.)
Comment 15•18 years ago
|
||
Comment on attachment 301455 [details] [diff] [review]
v2
a=mconnor on behalf of drivers
boom, baby
Attachment #301455 -
Flags: approval1.9? → approval1.9+
Comment 16•18 years ago
|
||
Comment on attachment 301455 [details] [diff] [review]
v2
a=beltzner
Shold we also be changing our default sessionstore pref to now cache content on SSL pages?
Comment 17•18 years ago
|
||
(In reply to comment #16)
> Should we also be changing our default sessionstore pref to now cache content on
> SSL pages?
Whoops - that's a different bug. Sorry.
Comment 18•18 years ago
|
||
This bug mentions SSL, but it really means https, right?
This does not cause pipelining to occur for application protocols running
over SSL other than http, right?
| Assignee | ||
Comment 19•18 years ago
|
||
right, this affects https only.
Updated•18 years ago
|
Summary: SSL should run with pipelining → https should run with pipelining
| Assignee | ||
Comment 20•18 years ago
|
||
checked in. if any regressions pop up, please cc me. once we're pretty sure this is going to stick, i'll see about updating docs at:
http://www.mozilla.org/quality/networking/docs/netprefs.html (deprecated?)
http://developer.mozilla.org/en/docs/Mozilla_Networking_Preferences
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 21•18 years ago
|
||
this may have caused bug 422978.
You need to log in
before you can comment on or make changes to this bug.
Description
•