Commit Graph

185 Commits

Author SHA1 Message Date
Patrick McManus
0fea780c20 bug 797964 remove spdy ping experiment and change default to 58s r=honzab 2012-10-25 14:20:08 -04:00
Patrick McManus
4cc2eaf0e0 bug 805067 - remove redundant mozilla:: in netwerk/protocol/http r=jduell 2012-10-24 21:00:27 -04:00
Patrick McManus
80401ae38e bug 790184 spdy: fix tcp send buffers to bound ping rtt r=honzab sr=biesi 2012-10-06 20:48:20 -04:00
Valentin Gosu
9cc7ed7d6f Bug 796192 - A/B test HTTP Pipelining on pre-release channel. r=mcmanus 2012-10-04 21:08:58 -04:00
Patrick McManus
6331337694 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ehsan Akhgari
57ec2ec569 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Ed Morley
7263dd5913 Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks 2012-09-17 16:54:09 +01:00
Patrick McManus
3d609df83a bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ed Morley
e768620be8 Backout 3182f9d08c2d (bug 347307), 2a30593cca79 (bug 507578), b87b27f5a417 (bug 769764) for m-oth permaorange in browser_463205.js 2012-09-13 22:42:29 +01:00
Patrick McManus
7bc21b4fdf bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-13 15:22:56 -04:00
Patrick McManus
8af22851ea bug 570283 - dont send http proxy-connection r=jduell 2012-09-05 08:38:01 -04:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Gordon P. Hemsley
022eca8950 Bug 672448 - Allow the Accept-Language header to have quality ('q') values up to 2 decimal places. r=biesi 2012-08-29 22:49:31 -04:00
Gordon P. Hemsley
bba51c47c3 Bug 672448 - Remove trailing whitespace. r=biesi 2012-08-27 21:21:20 -04:00
Ryan VanderMeulen
ea157997af Backout 69154d62012c and b0b07ef904ea (bug 672448) due to warnings-as-errors red. 2012-08-29 22:22:16 -04:00
Gordon P. Hemsley
9b3416d795 Bug 672448 - Allow Accept-Language header to have quality ('q') values up to 3 decimal places. r=biesi 2012-08-29 17:58:25 -04:00
Gordon P. Hemsley
5d55817bc5 Bug 672448 - Remove trailing whitespace. r=biesi 2012-08-27 21:21:20 -04:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Fabrice Desré
5b3e4dc151 Bug 726062 - B2G UA is wrong, better fix [r=gal] 2012-08-20 12:25:09 -07:00
Patrick McManus
f8ff5cbc09 bug 765048 - backout 3 digit accept-language q values r=biesi 2012-08-06 21:42:38 -04:00
Dão Gottwald
006922b37e Bug 777710 - Remove platform and OS identifiers from B2G UA. r=bz 2012-07-31 17:37:26 +02:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Dão Gottwald
ab5af598fc Bug 776376 - Hardcode navigator.productSub to 20100101 for backward compatibility. r=bz sr=jst 2012-07-27 14:09:59 +02:00
Patrick McManus
9f6bae93c5 bug 762162 - network.http.timeout-connection r=honzab 2012-07-23 19:10:00 -04:00
Patrick McManus
4a23d4fa91 bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi 2012-07-20 08:40:13 -04:00
Patrick McManus
ed67dd1214 bug 770264 - http connection diagnostics r=honzab 2012-07-09 18:07:57 -04:00
Ryan VanderMeulen
92daa61f55 Backout 38cfb0413e04 (bug 767506) due to M1 permaorange. 2012-07-02 21:55:24 -04:00
Jason Duell
934bc19faf Bug 767506 - Select proper proxy caps for non-SSL CONNECT. r=honzab 2012-07-02 17:38:34 -07:00
Dão Gottwald
f5b715af86 Bug 728831 - Don't expose the Firefox patch level (13.X.Y) in the UA string, only show the major version (13.X). r=bz sr=gavin 2012-06-22 13:52:47 +02:00
Patrick McManus
133a613132 bug 766159 - User-Agent product sub code wrong with NSPR logging on r=jduell 2012-06-20 17:07:42 -04:00
Ryan VanderMeulen
4c71ae6d9a Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
202bd53a55 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Gordon P. Hemsley
70bb660ed0 Bug 672448 - Clamp quality factor ('q') values to 3 decimal places. r=biesi 2012-06-09 19:01:59 -04:00
Brian Smith
aafe8717ee Bug 722034 - Part 5 - Move cache validation to the cache thread, r=honzab 2012-05-31 15:20:05 -07:00
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