Commit Graph

101 Commits

Author SHA1 Message Date
Patrick McManus
e35b39b76e bug 737470 patch 2 clone spdy/2 into spdy/3 r=honzab 2012-05-25 17:37:08 -04:00
Patrick McManus
cfdfcf2602 bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab 2012-05-25 17:37:01 -04:00
Josh Matthews
65aa9270f6 Bug 722845 - Part 1: Add private browsing information to HTTP channels. r=jduell,mayhemer 2012-05-24 16:31:53 +01:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oleg Romashin
1a50febda0 Bug 756384 - Maemo/Meego builds should have the "Mobile" token in the UA string. r=mfinkle 2012-05-19 11:31:17 -04:00
Gavin Sharp
41063a30cf Bug 747990: Add ability to specify the "application name" used in the user agent in application.ini, r=bsmedberg 2012-04-23 16:09:23 -04:00
Dão Gottwald
5d9d8e91f4 Bug 588909 - Replace Gecko/<date> with Gecko/<version> in UA string. r=bz sr=gerv 2012-04-30 13:06:45 +02:00
Patrick McManus
7815ee6637 bug 723628 - speculative connect hint interface r=honzab sr=biesi 2012-04-25 08:54:42 -04:00
Patrick McManus
8e6f1441e8 bug 743747: fix landing with 603514 r=honzab 2012-04-11 13:49:32 -04:00
Patrick McManus
e497a1bfb1 bug 742935: fix landing problem with 717759 r=honzab 2012-04-09 10:22:07 -04:00
Patrick McManus
bb00de36ad bug 739617 - cannot upload large files r=honzab 2012-04-02 20:36:11 -04:00
Patrick McManus
ee29e5e26d bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab 2012-03-22 19:39:32 -04:00
Patrick McManus
ce937da0ed bug 603514 - http stalled read detection r=honzab
When a connection that involves a pipelined transaction has been stalled (i.e.
idle with an open transaction, not an idle persistent connection) for a
second move any transactions that are pipelined after the current one onto
different connections (and implicitly close this connection when done with the
current transaction).

when it has been stalled for 10 seconds (pref configurable), cancel the current
transaction itself too - depending on its state it can hopefully be restarted
on a clean connection.
2012-03-22 19:39:31 -04:00
Patrick McManus
4187cc4bd6 bug 603512 - large objects block pipelines r=honzab
the type and state patch tries hard not to form pipelines behind resources that
could become head of line blockers. But of course that requires the ability to
predict the future, and won't be perfect.

This patch reacts to a transaction that has a large response body (defined by
either a large content-length header or actually reading a large number of
chunked bytes) by cancelling any transactions that have been pipelined down the
same connection and rescheduling them elsewhere. It also changes the type of
the connection to "solo", which prevents new transactions from being pipelined
onto this one and provides class-specific negative feedback to the pipeline
manager so that near-future requests to the same host of the same type (e.g.
general) will not be pipelined but other types (e.g. img or js/css) can still
do that.

Content-Length is ideal, because it allows us to identify the problem so early.
But even actually reading the document for a fairly long time gives it a fairly
high probability of not ending soon. (i.e. long document sizes are spread over
a larger range than small ones. duh.)

The pref network.http.pipelining.maxsize controls the threshold. I set the
default at 300KB, which is roughly the bandwidth delay product of a 2mbit 120ms
rtt connection and 1 rtt is mostly what you are giving up by canceling it on
one connection and sending it on another. (modulo maybe needing a handshake).
2012-03-22 19:39:31 -04:00
Patrick McManus
fe31432cfb bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
850582271a bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
83ed832d3c bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-27 10:32:09 -05:00
Geoff Lankow
bdcb020186 Backed out changeset 7dce5c5c9654 (bug 729736) 2012-02-26 13:50:37 +13:00
Patrick McManus
b64bac12bd bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-25 17:07:51 -05:00
Patrick McManus
580a444309 bug 728113 spdy ping to keepalive nat timeouts 2/2 spdy ping r=honzab 2012-02-23 20:58:43 -05:00
Masatoshi Kimura
3a5286efbe Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Dão Gottwald
974e282465 Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv 2012-02-21 04:29:09 +01:00
Justin Dolske
0637d8ac6e Backout bfc937247f3c (bug 588909), UA change breaks Google and Zimbra. 2012-02-20 16:29:38 -08:00
Justin Dolske
fb0a9603be Backout 0a7410527788 (bug 572659), UA change breaks Google and Zimbra. 2012-02-20 16:29:36 -08:00
Dão Gottwald
7b83cdad40 Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv 2012-02-20 15:39:33 +01:00
Dão Gottwald
37e57680b7 Bug 588909 - Replace Gecko/<date> with Gecko/<version> in UA string. r=bz sr=gerv 2012-02-17 13:21:29 +01:00
Geoff Lankow
4f40e2d14a Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part E, remove uses of nsIPrefBranch2 in netwerk/ ; r=bsmedberg 2012-01-17 14:48:29 +13:00
Fabrice Desré
a96b36e505 Bug 725602 - B2G UA is wrong [r=gal] 2012-02-09 14:02:46 -08:00
Ed Morley
8086dffedb Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
89dc26a595 Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Mark Finkle
a978c8ed9f Bug 671634 - Fennec UA changes. Useragent should be different between phones and tablets. r=me sr=bz a=gerv
Please read http://groups.google.com/group/mozilla.dev.platform/msg/8133920a2ccf4d5b for the details.

Also see https://wiki.mozilla.org/Fennec/User_Agent for Gerv's accepted proposal.
2012-01-31 20:04:23 -08:00
Patrick McManus
d800668388 bug 708415 spdysession review comments r=honzab 2012-01-26 00:15:26 -05:00
Patrick McManus
4734752843 bug 694576 r=bz 2011-12-22 21:21:20 -05:00
Patrick McManus
128aa03e76 bug 528288 - reland spdy after libxul weightloss a=khuey CLOSED TREE 2011-12-13 10:55:50 -05:00
Ed Morley
e1230df916 Backout SPDY to keep us under the MSVC virtual address space limit during win PGO builds (bug 709193)
Backs out 952d14a9e508 (bug 707173), c170c678c9ac (bug 708305), 0a5f66d5d8e4 (bug 707662), 3204b70435fe (bug 706236) and the main landing range 48807fde0339:0bd45ead1676 (bug 528288).
2011-12-10 22:36:26 +00:00
Patrick McManus
09048c777b bug 528288 spdy - provide a pref to control alternate-protocol support r=honzab
patch 8
2011-12-02 10:28:57 -05:00
Patrick McManus
4ade0830ac bug 528222 Basic SPDY web transport support. r=honzab r=bsmith sr=biesi
patch 0
2011-12-02 10:28:56 -05:00
Ed Morley
17e290456f Backout 31d345404c98 (bug 671634) due to missing privacy review and necko peer review; a=dao 2011-11-08 10:43:36 +00:00
Wes Johnston
b57c47bd60 Bug 671634 - Update Fennec useragent to more closely match stock browser. r=dougt 2011-11-07 15:03:53 -08:00
Jonathan Watt
276bdfa251 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Patrick McManus
73ff95b721 bug 692260 - pr_poll limit autodiscovery for windows r=jduell 2011-10-25 11:36:49 -04:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Kyle Huey
2117bd2cd0 Backout Bug 477578 because it causes us to refcount atoms off the main thread. 2011-09-22 10:43:11 -04:00
Michal Novotny
ec7039d512 Bug 477578 - uppercase selected HTTP methods (CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, TRACE and TRACK) and make other methods case sensitive 2011-09-12 18:00:15 +02:00
Masatoshi Kimura
48178ada7d Bug 679090 - Disable IPv6 for backup connections to workaround problems about broken IPv6 connectivity; f=mcmanus r=biesi 2011-08-27 11:49:40 +01:00
Patrick McManus
f61079dca0 bug 648941 - close persistent connections when transitioning in/out of private browsing r=bz 2011-07-25 16:25:01 -04:00
Mounir Lamouri
09847b5640 Merging cedar with mozilla-central. 2011-05-08 18:23:36 +02:00
Ed Morley
367ad1e63f Bug 654552 - Remove WinCE code from netwerk/* ; r=cbiesinger 2011-05-07 10:03:16 +02:00
4f4aa2b09e Bug 572652 - Remove the Accept-Charset header from HTTP requests. r=bz 2011-05-08 10:33:18 +02:00