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
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
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
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
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
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
Patrick McManus
7815ee6637
bug 723628 - speculative connect hint interface r=honzab sr=biesi
2012-04-25 08:54:42 -04:00
Patrick McManus
7b89aa5681
bug 729133 - internal necko speculative connections r=honzab
...
race cache I/O events against TCP/SSL connections. Also drive
unused TCP connections to the completion of their SSL handshakes is
apropos.
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
36d5f8f033
bug 742935: fix landing problem with 603512 r=honzab
2012-04-09 10:21:17 -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
Geoff Lankow
be16664e3c
Backed out changeset f65247c7647a (bug 729133)
2012-02-26 13:50:34 +13:00
Patrick McManus
bfa62e0c95
bug 729133 speculative connections do full ssl and happen before cache lookup
2012-02-25 17:07:52 -05: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
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
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
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
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
Benjamin Smedberg
2c2ac1f0ac
Bug 675221 part C - Remove XPCOM proxy usage from necko, r=jduell
2011-08-19 11:47:43 -04:00
4f4aa2b09e
Bug 572652 - Remove the Accept-Charset header from HTTP requests. r=bz
2011-05-08 10:33:18 +02:00
Dão Gottwald
7802679d2f
Bug 646428 - Remove nsIHttpProtocolHandler's language attribute. r=bz
2011-04-06 17:17:28 +02:00
Patrick McManus
0a5c32765a
bug 623948 - Accelerate TCP connection retries in HTTP r=honzab
2011-03-31 15:38:30 -04:00
Ehsan Akhgari
a37a42a15a
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
2011-04-01 12:23:48 -04:00
Patrick McManus
c8ecb7eec9
bug 623948 - Accelerate TCP connection retries in HTTP r=honzab
2011-03-31 15:38:30 -04:00
Sid Stamm
66b166d550
Bug 628197. Implement do-not-track HTTP header to express user intent to halt tracking across site. r=dwitte, a=jst.
2011-01-05 11:53:21 -08:00
Patrick McManus
e946f6d944
bug 623921: Out of an abundance of caution back out feature: 592284 - HTTP Syn Retry r=honzab a=backout
2011-01-07 11:11:22 -05:00
Benjamin Smedberg
d1fe217a1c
Bug 614229 - nsHttpHandler getting the private-browsing service can cause recursive initialization of layout, and I suspect can cause incorrect behavior in Firefox because we may end up creating HTTP URIs before we're finished with XPCOM registration, r=honza+ehsan a=blocking bug 581335 which blocks Fennec b3
2010-11-24 08:58:42 -05:00