Commit Graph

101 Commits

Author SHA1 Message Date
Patrick McManus
8477b31ba8 bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell 2011-04-13 08:59:29 -04:00
L. David Baron
d9e49e7825 Backout changeset e6d044d30abf (bug 607741) for not compiling. 2011-04-11 23:17:43 -07:00
Patrick McManus
5803d4c261 bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell 2011-04-11 22:37:59 -07:00
Ehsan Akhgari
af0b3bc7a9 Backout changeset 649e429d342f (bug 607741) because of mobile tree oranges 2011-04-11 13:28:41 -04:00
Patrick McManus
2cf9093d57 bug 607741 - lift 50 socket limitation r=jduell
raise sockettransportservice max sockets to 550 from 50 for linux, os
x, and windows >= xp. This does not change the default http
max-connections config (which remains at 30), but does allow
configurations above 50 to work and will enhance the utility of other
systems that use the sockettransportservice.

win9x provides a small number of sockets (100), so we just leave the
limits unchanged there out of conservatism.
2011-04-08 14:36:38 -04:00
Ehsan Akhgari
6a536fa574 Merge cedar into mozilla-central 2011-04-06 16:39:14 -07:00
Matheus Kerschbaum
9014e25ac7 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Patrick McManus
66c8ef381a Bug 643352 keep-alive header syntax invalid r=bz
don't send the keep-alive request header. It is redundant to
connection: keep-alive and we don't send the right syntax anyhow.
2011-03-23 11:02:33 -04: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
Ehsan Akhgari
55db7cfddc Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones
9ae6458637 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
ecb9597975 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones
5dece3352a Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Patrick McManus
c8ecb7eec9 bug 623948 - Accelerate TCP connection retries in HTTP r=honzab 2011-03-31 15:38:30 -04:00
Dão Gottwald
7802679d2f Bug 646428 - Remove nsIHttpProtocolHandler's language attribute. r=bz 2011-04-06 17:17:28 +02:00
Joe Drew
2bd88b64fb Back out bug 643352 (118451f8ec76) on suspicion of causing Tp regressions. 2011-03-24 20:29:08 -04:00
Patrick McManus
ff7ab2c798 643352 keep-alive header syntax invalid r=bz
don't send the keep-alive request header. It is redundant to
connection: keep-alive and we don't send the right syntax anyhow.
2011-03-23 11:02:33 -04:00
Mitchell Field
907029389d Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11: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
Michal Novotny
7505c0a791 bug 599127 - Wyciwyg channel writes end up doing synchronous disk IO. r=jduell, a=betaN 2010-11-23 14:01:30 +02:00
Patrick McManus
f08a5468f7 Bug 592284 - Accelerate TCP connection retries in HTTP. r=honzab a=blocking2.0
Losing a TCP SYN requires a long painful (typically 3 second) delay
before being retried. This patch creates a second parallel connection
attempt for any nsHttpConnection which has not become writable before
a timeout occurs.

If you assume .5% packet loss, this converts a full 3 second delay
from a 1 in 200 event into a 1 in 40,000 event.

Whichever connection establishes itself first is used. If another one
has been started and it does connect before the one being used is
closed then the extra one is handed to the connection manager for use
by a different transaction - essentially a persistent connection with
0 previous transactions on it. (Another way to think about is
pre-fetching a 3WHS on a high latency connection).

The pref network.http.connection-retry-timeout controls the amount of
time in ms to wait for success on the initial connection before beginning
the second one. Setting it to 0 disables the parallel connection, the
default is 250.
2010-11-21 09:50:36 +01:00
Patrick McManus
4018c7f164 Bug 606719 - Browser stalls with connections left hanging in TCP close wait state. Part 2: fix it. r=dwitte, a=b7+ 2010-10-28 10:10:03 -07:00
Dão Gottwald
686ca13b5e Bug 591573 - remove support for general.useragent.vendor & vendorSub. r=dwitte sr=dveditz a=jst 2010-10-15 11:11:19 +02:00
Alon Zakai
cd97780813 Bug 517584 - Fix orange in test for bug 480619. r=dwitte a=blocking-fennec 2010-10-14 17:28:45 -07:00
Jon Hemming
4c7b0c341b Bug 591881 - Suspend pruning of idle connections when possible. r=dwitte a=blocking-fennec 2010-10-14 17:28:43 -07:00
Jason Duell
ed3cda7789 Bug 599122: Don't initialize PSM on child. r=honza a=blocking-fennec-2.0b2 2010-09-30 23:57:01 -07:00
Dão Gottwald
13ee1632ca Bug 591125 - Sanitize the app name for the UA string. r=dwitte a=jst 2010-09-02 13:37:41 +02:00
Dão Gottwald
c7b0a20cc8 Bug 591783 - Fix for corrupt language pack install.rdf due to quotes in MOZ_APP_VERSION. r=khuey a=bustage-fix 2010-08-30 17:54:46 +02:00
Dan Witte
243e6691ca Bug 591537 - Freeze UA build id for Firefox branded builds. r=dao/khuey, sr=jst, a=beta5+ 2010-08-28 13:42:04 -07:00
Dão Gottwald
22bab60985 Bug 591387 - Default theme shows as "incompatible" (version number wrapped with quotes). r=khuey a=blocking 2010-08-28 15:32:07 +02:00
Dan Witte
2b63393299 Bug 590258 - Reformat x86-on-x86_64 part of Linux UA string. r+sr=jst, a=beta5+ 2010-08-27 08:12:01 -07:00
Dan Witte
642730fd05 Bug 581008 - Reorder Firefox-compat, App and Vendor tokens. r=dao 2010-08-27 09:03:10 +02:00
Dão Gottwald
7eebb62d89 Bug 581008 - Remove support for appending arbitrary data to the User Agent string. r=jst,khuey sr=dveditz 2010-08-27 09:02:10 +02:00
Justin Wood
4c4ddeeb12 Bug 590826 - SeaMonkey test failure in test_stricttransportsecurity.html due to use of uninitialized value. r=geekboy a=Bustage-fix 2010-08-26 00:25:42 -04:00
Matt Brubeck
aff8ff53e5 Bug 566151 - Add "Maemo" to UA string. r=vlad,dwitte sr=jst a=blocking-fennec 2010-08-25 16:31:00 -07:00
Sid Stamm
80238b913a Bug 495115 - Implement Strict-Transport-Security to allow sites to specify HTTPS-only connections, r=kaie+honzab+bjarne, a=betaN+ 2010-06-03 14:03:17 -07:00
Michal Novotny
326209b452 Bug 513008 - Eliminate synchronous reads from cache. r=jduell,sdwilsh sr=shaver a2.0=blocking 2010-08-24 03:06:23 +02:00
Mounir Lamouri
8232afc103 Backed out changeset d0b284052d29 for Talos regression investigation on tp4. 2010-08-22 20:16:05 +02:00
Michal Novotny
9ae1d7f741 Bug 513008 - Eliminate synchronous reads from cache, r=jduell,sdwilsh, sr=shaver, a=betaN+ 2010-08-21 11:16:40 -07:00
Dão Gottwald
311e54733f Bug 581783 - Remove "Windows;" from the UA string. r=bz 2010-08-05 09:09:42 +02:00
Kyle Huey
3d89fd2512 Backed out changeset 1e8961782824 2010-07-29 20:16:37 -07:00
Michal Novotny
3d9e1623f4 Bug 513008 - Eliminate synchronous reads from cache. r=jduell.mcbugs@gmail.com, cbiesinger@gmail.com, sr=shaver@mozilla.org 2010-07-29 16:23:10 -07:00
Honza Bambas
6bdf0dbe61 Bug 513086 - Make redirect API async, r=bz, sr=biesi 2010-07-28 20:33:06 +02:00
Dão Gottwald
d7e7f6055d Bug 580341 - Remove unused deviceType from nsIHttpProtocolHandler. r=biesi 2010-07-20 22:05:34 +02:00
Dão Gottwald
12f49379ce Bug 572656 - Remove the UI language from the UA string and navigator.appVersion. r=bz 2010-07-19 22:18:11 +02:00
Saint Wesonga
f09d7de666 Bug 572668. Don't send the useless crypto token in the UA string. r=bzbarsky 2010-07-02 16:56:09 -04:00
Doug Turner
2f64431802 Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h
2010-06-07 13:38:02 -07:00