Commit Graph

1732 Commits

Author SHA1 Message Date
bjarne@runitsoft,com
d902fada99 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed; r=(dwitte, jduell). 2011-03-24 16:45:07 -04:00
L. David Baron
d78a10bc18 Backout changeset f406ffe65c08 (Bug 620931 part 1) for causing bug 644790. 2011-03-24 21:07:53 -07:00
L. David Baron
506701bba2 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
L. David Baron
5445f4ab8c Backout changeset 9df6e8117fe0 (Bug 620931 part 4) for causing bug 644790. 2011-03-24 21:06:44 -07:00
Joe Drew
1ba8c47fbd Back out bug 628561 (d5fad1ab2f00) on suspicion of causing Tp regressions. 2011-03-24 20:30:59 -04:00
Joe Drew
0f83ac4e73 Back out bug 542401 (3fe7fcd60880) on suspicion of causing Tp regressions. 2011-03-24 20:30:06 -04:00
Joe Drew
c4b6e8f543 Back out bug 643352 (118451f8ec76) on suspicion of causing Tp regressions. 2011-03-24 20:29:08 -04:00
Joe Drew
58c6469af1 Back out bug 643291 (264508dc959b) on suspicion of causing Tp regressions. 2011-03-24 20:28:05 -04:00
Joe Drew
5f5b3c4c3b Back out bug 632419 (dbe8ef0649ac) on suspicion of causing Tp regressions. 2011-03-24 20:27:11 -04:00
Ehsan Akhgari
f83c604e6c Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Patrick McManus
b13ecb026e bug 628561 DNS caching forcing one to restart Firefox to eliminate temporary DNS redirection; r=bzbarsky
A force-reload now clears persistent connections to the server related
to the force-reloaded resource. This will allow renogitation of DNS or
server load balancing.

--HG--
extra : rebase_source : 5c55e90ea64039b9cdc0a2d85a51086d2b1d40df
2011-03-24 12:01:57 -04:00
Ehsan Akhgari
5553692d78 Merge mozilla-central into cedar 2011-03-24 10:54:50 -04:00
Mike Hommey
f25c0e8cc3 Bug 620931 part 4 - Fix resource://app/ to always point to the same as resource:///. r=bsmedberg 2011-03-24 15:28:31 +01:00
Mike Hommey
2cfeef8160 Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
Mike Hommey
765d4f1b6c Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg 2011-03-24 15:27:37 +01:00
Karl Tomlinson
00b61b389c merge backout of bug 280661 2011-03-24 21:40:06 +13:00
Karl Tomlinson
ec5ed5c366 backout bug 280661 due to test_socks.js test failure 2011-03-24 21:37:53 +13:00
chrisd.mang@gmail.com
db01b291f7 Bug 280661 - Test case; r=ted 2011-03-23 23:42:04 -04:00
Ehsan Akhgari
35a76662aa Bug 616745 followup - fixed typo 2011-03-23 23:48:52 -04:00
Patrick McManus
231e2f39d1 Bug 542401 - Look into whether Firefox should set TCP_NODELAY for non-SSL HTTP socket r=jduell
indeed without nagle disabled (which is what nodelay does) a pipeline
can be interrupted for a full rtt waiting for an ack, which defeats
the purpose of pipelining. Other parts of FF can just coalesce the
writes internally, but sometimes that is not possible for pipelines
which may not have an opportunity for a pipelined request when the
"runt" packet goes out, but discovers such an opportunity a long time
before the rtt is expired. In other places (such as long posts) we do
a fine job of coalescing already, so this should not result in any
extra packets on the wire, just improved latency.

--HG--
extra : rebase_source : f83f5b080a3da5875abaee001e8af18503fcff38
2011-03-23 11:03:09 -04:00
Patrick McManus
61d74558d8 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.

--HG--
extra : rebase_source : c6d9cb95d2d1cac30bc718884eb3b909db0d6a43
2011-03-23 11:02:33 -04:00
Patrick McManus
cfff86b2ac Bug 643291 - chnage nshttpcompressconv NS_ERROR to NS_WARNING for data input error r=honzab
--HG--
extra : rebase_source : 14dbf0bc5cd5acbc1c525f7c8f19282c494e24f7
2011-03-23 11:01:34 -04:00
Patrick McManus
91f82129c3 Bug 632419 - HTTP 100 level parser race condition r=bz
--HG--
extra : rebase_source : 0cd0a74bfe850d0c16d7f74b77c8ca0c286e1144
2011-03-23 10:59:58 -04:00
Ehsan Akhgari
47cf269311 Merge mozila-central onto cedar
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
Kyle Huey
ee2b740dd2 Merge m-c to bs. 2011-03-04 23:54:03 -05:00
Alon Zakai
12fc79016e Bug 634666 - DEFER_OPEN option for file streams. r=bz,sdwilsh sr=bz a=blocking-fennec 2011-03-04 16:36:56 -08:00
Brian Smith
99229eb36d Bug 637361: Backout bug 573043, a=blocker 2011-03-01 19:16:22 -08:00
Brian Smith
6e3249a44c Bug 637361: Backout bug 573043 2011-03-01 19:11:22 -08:00
Christopher Davis
9f892a74c3 Bug 280661 - SOCKS proxy server connection timeout hard-coded; r=bzbarsky 2011-02-24 15:10:08 +02:00
jhorak@redhat.com
1eed9ae919 Bug 494163 - (gio / gvfs) Port gnomevfs extension to GIO/GVFS; r=karlt sr=roc 2011-03-23 23:38:03 -04:00
bjarne@runitsoft.com
3b3f5bf40a Bug 561276 - Cookie dependency on cache determination for image redirects r=bz 2011-03-23 23:36:53 -04:00
Gervase Markham
c5a7279931 Add gob.ec to PSL (public suffix list). (Bug 621707) a2.0=beltzner 2011-02-27 19:56:57 -08:00
Gervase Markham
45c3853777 Add bv.nl to PSL (public suffix list). (Bug 621707) a2.0=beltzner 2011-02-27 19:56:57 -08:00
Boris Zbarsky
908c57b9ab Bug 635977. Make sure to always send OnStartRequest to our listener from nsIndexedToHTML. r=jduell, a=bsmedberg 2011-02-24 13:42:15 -05:00
Patrick McManus
16aeac69f7 Bug 635892 - HTTP/2.0 from SmarterTools Server. Fake it till you make it. a=hardblocker r=bz
--HG--
extra : rebase_source : 6a61e6e6a1ececf8d1d0827706e0755741930832
2011-02-22 21:02:19 -05:00
Jonathan Kew
eda599e429 bug 635705 - reorder code in GetParameterInternal. r+a=bzbarsky 2011-02-23 07:29:26 +00:00
Honza Bambas
4b801dad80 Fix bug 573043. r=jmathies@mozilla.com, a=blocker.
--HG--
rename : security/manager/ssl/public/nsISSLStatus.idl => netwerk/base/public/nsISSLStatus.idl
rename : security/manager/boot/public/nsISSLStatusProvider.idl => netwerk/base/public/nsISSLStatusProvider.idl
rename : security/manager/ssl/public/nsIX509Cert.idl => netwerk/base/public/nsIX509Cert.idl
2011-02-08 16:12:29 -08:00
Patrick McManus
c1c1f7e184 Bug 632061 - Firefox 4 does not always properly handle HTTP/0.9 responses r=bz a=blocking-2.0
--HG--
extra : rebase_source : 8185a73da91b5327d5826d8945a044ac87fd41be
2011-02-08 18:26:33 -05:00
Honza Bambas
6acd0a66d9 Bug 623996 - Offline Application Cache Breaks with Iframe and Shared Empty Files, r=michal.novotny, a2.0=jst 2011-02-12 14:06:02 +01:00
Sean Dunn
85046fcaa6 Bug 632280 - Remove NS_NOTREACHED occurrences near nsCacheEntryDescriptor.cpp:686; r=bzbarsky,khuey a=bsmedberg 2011-02-11 16:49:07 -05:00
Neil Rashbrook
3a0f10932d Bug 616809 Remove CRs from netwerk r=biesi a=jst DONTBUILD 2011-02-06 00:04:14 +00:00
Bjarne
de005f5932 Bug 633146 - Remove unnecessary locking in nsCacheService::OpenCacheEntry; r=michal.novotny,bzbarsky 2011-03-22 15:17:13 -04:00
Ms2ger
384aab2569 Bug 637186 - Ignoring return value of SendDeleteSelf in HttpChannelParent::Delete; r=honzab.moz 2011-03-22 15:16:33 -04:00
Mitchell Field
b6976ca587 Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Mitchell Field
dd61bc4257 Merge mozilla-central to build-system. 2011-02-28 18:28:40 +11:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mike Hommey
291fe1848f Bug 584474 part 6 - Remove duplicate libxpcomglue_s in link flags. r=ted 2011-02-25 15:02:04 +01:00
Mitchell Field
2e8a7d546f 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
timeless@mozdev.org
971e36d6d8 Bug 584999 remove unused nsresult rv in nsHttpChannel::ContinueOnStartRequest2
r=biesi
2010-08-06 16:16:32 +03:00
Jason Duell
824a056239 Bug 588781 - Content-Disposition: suboptimal fallback behavior when both "filename" and "filename*" params are present; r=biesi 2011-03-23 23:35:30 -04:00
timeless@mozdev.org
19d6a64f6e Bug 616745 warning: comparison between signed and unsigned integer expressions in nsHttpTransaction::LocateHttpStart
r=biesi
2011-03-23 23:31:28 -04:00
timeless@mozdev.org
6e4946973b Bug 617693 testURL/writeout use delete[] on nsMemory::Alloc o_Result and strdup(temp) when they don't leak
r=biesi
2011-03-23 23:30:31 -04:00
timeless@mozdev.org
036f6beffb Bug 618793 please add a return or comment in STATUS_REJECTED case of nsCookieService::SetCookieStringInternal switch to explain common return with STATUS_REJECTED_WITH_ERROR
r=dwitte
2011-03-23 23:30:16 -04:00
timeless@mozdev.org
f763a2f442 Bug 620260 add fall through comment to nsHTTPCompressConv::OnDataAvailable
r=biesi
2011-03-23 23:30:04 -04:00
timeless@mozdev.org
64666d52c4 Bug 620390 useless null check of host = flat.get() in nsStandardURL::SetHost
r=biesi
2011-03-23 23:29:47 -04:00
bjarne@runitsoft.com
931d1ac2ff Bug 612135: Content Encoding Error (partial content request) on galaxys.samsungmobile.com r=bzbarsky a=blocking2.0 2011-02-04 14:49:05 -05:00
Ehsan Akhgari
c07c875d05 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
bjarne@runitsoft.com
29d9225a9a Bug 612135: Content Encoding Error (partial content request) on galaxys.samsungmobile.com r=bzbarsky a=blocking2.0
--HG--
extra : rebase_source : 32ff74259046fd2f3a673df39620acb10accf2cb
2011-02-04 14:49:05 -05:00
Boris Zbarsky
dfc5ea8e25 Bug 629291. Don't use native leaf names in safe output streams; they lose information. r=bsmedberg, a=jst 2011-02-03 09:36:46 -08:00
Dan Witte
6270b2354a Fix bug 624764. r=bsmedberg, a=betaN+ 2011-02-02 14:57:48 -08:00
Patrick McManus
727c1bc347 624374 - remove unused nsHttpConnection::mLock. r=honzab.moz@firemni.cz, a=jst@mozilla.com 2011-02-02 10:53:06 -08:00
Ehsan Akhgari
1e3a9a31ab Bug 625991 - Let the server socket code deal with the cases where we don't have a live socket transport service due to being offline; r=bzbarsky a=blocking-final+ 2011-01-18 16:39:21 -05:00
Patrick McManus
0d5cfec907 bug 628832 - fix regression in http/0.9 detection from 363109; r=zbarsky a=blocking-2.0
* instead of making (dis)-allow 0.9 a property of connection info,
  work off a state machine that engages in the liberal skipping of
  junk before response headers only immediately after a no-content
  response on the same connection.

* when scanning for response headers in a large amount of junk place a
  non infinite limit on that (128KB).. the only known use case for
  this is skipping illegal message bodies in 304's and those just
  aren't that big.

--HG--
extra : rebase_source : 433fd6aae237d29a9957b1a70cf1e756af5a8af0
2011-01-27 13:34:39 -05:00
Sid Stamm
0bbb185dcd Bug 628197. Implement do-not-track HTTP header to express user intent to halt tracking across site. r=dwitte, a=jst.
--HG--
extra : rebase_source : 29550c73f45bfefac311cdce4eef80e947869738
2011-01-05 11:53:21 -08:00
Frank Yan
5b1008b96c Bug 627332 - add-ons compatibility check always presents "Minefield is working offline" dialog when network link state detection is disabled. r=roc a=dolske 2011-01-27 16:07:30 -08:00
Michal Novotny
d0331cfa9d Bug 614513 - Crash in nsCacheService::DeactivateEntry during Linux Talos. r=bzbarsky@mit.edu, a=blocker 2011-01-27 17:02:44 +02:00
Gervase Markham
c83afdd723 Bug 615530 - update .bt entry in PSL. a=jst. 2011-01-27 15:01:19 +00:00
Dave Townsend
e51597dabb Backout of changeset 9acd51502a65 from bug 579846. a=bustage 2011-01-24 14:59:51 -08:00
Dave Townsend
0adf94b662 Backout of changeset 38d1b321c98b from bug 579846. a=bustage 2011-01-24 14:58:20 -08:00
Sid Stamm
c9a91d7bb6 bug 557598 - Support strict-transport-security (STS) in private browsing mode; r=ehsan,dveditz a=blocking-betaN+ 2010-10-06 10:07:39 -07:00
Honza Bambas
1cc1cc4167 Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended [Fennec part], r=jduell, a=betaN+ 2011-01-23 23:49:30 +01:00
Honza Bambas
63032f8fb3 Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended, r=bzbarsky+hsivonen, a=betaN+ 2011-01-23 23:49:30 +01:00
bjarne@runitsoft.com
295120a137 Bug 467392 - Docshell leak with document.write(document.body.innerHTML) and window.location.reload r=michal.novotny, a=blocking-final+ 2011-01-21 15:13:26 -05:00
Daniel Holbert
eb0c1dcaf4 Bug 626741 - Downgrade assertion to warning, for failed modifications to immutable urls. r=bz a=NPOTB (debug-only) 2011-01-20 19:49:09 -08:00
Bjarne
a1913869ad Bug 620660 - Ensure the disk-cache stays around until all cache-operations have finished. r=michal.novotny a=jst 2011-01-20 13:41:10 -08:00
Makoto Kato
e30bc616e7 Bug 616075 - HTML5 offline event support for Android. r=mwu a=blocking-fennec 2011-01-20 20:06:13 +09:00
Michal Novotny
b43d447142 Bug 604897 - Unable to cache small entries when _CACHE_00[1-3]_ is full; r=mayhemer a=blocking-betaN+ 2011-01-18 16:12:10 +02:00
Michal Novotny
9f62941f24 bug 543805 - FTP list parse error when list returns twice space between date and file name. r=honzab.moz@firemni.cz, a=blocker 2011-01-17 20:50:08 +02:00
Mounir Lamouri
b550e1a0a6 Bug 623482 - Present error page when someone tries to access remote XUL. r+a=sicking
--HG--
extra : rebase_source : 2786e51db70ca0c66f6388376711e74816828c2d
2011-01-14 16:33:57 +01:00
Michal Novotny
81ec8f913f Bug 614513 - Crash in nsCacheService::DeactivateEntry during Linux Talos. r=bzbarsky@mit.edu, a=blocker 2010-12-29 03:25:14 +02:00
Steven Michaud
1a30fa02e4 Bug 620733 - java.security.AccessControlException when calling privileged Java methods from chrome. r=bz,jst a2.0=jst 2011-01-11 10:00:36 -06:00
Patrick McManus
4016cea6b9 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
Patrick McManus
6adb71682b Bug 613977 - Intermittent invalid certificate error prompt in security tests causing timeouts r=honzab a=beta-N 2011-01-05 08:37:45 -05:00
Josh Matthews
13f17d7ceb Bug 616861 - Replicate behaviour of nsHttpChannel in regards to failure status codes in OnStopRequest. r=jduell a=blocking-fennec 2010-12-06 18:28:45 -05:00
Michal Novotny
6ded8b2b9f Bug 620194 - "ASSERTION: nsLoadGroup not thread-safe" under nsWyciwygCloseEvent::~nsWyciwygCloseEvent, r=bz, a=b 2010-12-23 01:56:26 +02:00
Dan Witte
2685d64a45 Fix bug 616264. r=ehsan,sdwilsh, a=beta9+ 2010-12-22 13:50:56 -08:00
Honza Bambas
ee0f3def92 Backout changeset f397877da0dd, a=backout 2010-12-22 18:25:15 +01:00
Honza Bambas
1e7a9fc658 Bug 613977 - Intermittent invalid certificate error prompt in security tests causing timeouts, r=mcmannus, a=blocking:beta9+ 2010-12-22 16:44:27 +01:00
Mark Banner
0285053b7c Non-IPC Bustage fix from bug 613977/bug 614677/bug 614950 - add nsAutoPtr.h header to fix compilation bustage. a=Bustage fix 2010-12-16 14:35:12 +00:00
Patrick McManus
dd0c0a9a27 Bug 613977 - Intermittent invalid certificate error prompt (partial) r=honzab a=blocking-beta9
Bug 614677 - Connection is reset message appears intermittently
Bug 614950 - Connections stall occasionally after 592284 landed

A couple of follow-on changes to 592284 rolled together to prevent
diff conflicts

1] Set the securitycallback information for unused speculative
connections in the connection manager to be the new cloned connection
rather than the one they originated on. (613977)

2] When adding unused speculative connections to the connection
manager, due so with a short timeout (<= 5 seconds) as some servers
get grumpy if they haven't seen a request in that time. Most will
close the connection, but some will just sit there quietly and RST
things when the connection is used - so if you don't use the
connection quickly don't use it at all. This is probably a L4 load
balancer issue, actually. Mozillazine illustrates the
problem. Connections are made in bursts anyhow, so the reuse optimization is
likely still quite useful. (614677 and 614950)

3] mark every connection in the connection manager persistent
conneciton pool as "reused". This allows the transaction to be
restarted if a RST is recvd upon sending the requests (see #2) - with
the conservative timeout this is now a rare event, but still possible
so recovery is the right thing to do. (614677 and 614950)

4] obtain an nshttpconnection object from the connection manager,
subject to the max connection constraints, at the same time as
starting the backup conneciton. If we defer that until recycling time
the exceeded limits of the SocketService can cause problems for other
connections.

also re-enables the syn retry feature by default.

r+ honzab
2010-12-16 08:50:36 -05:00
Shawn Wilsher
08e6bfdd2e Merge Places and mozilla-central
a=bsmedberg
2010-12-15 19:24:51 -08:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher
5f893d748b Merge mozilla-central into Places. 2010-12-07 15:06:32 -08:00
Shawn Wilsher
2ed7d826a8 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher
1a57bc2dca Merge mozilla-central to Places. 2010-12-02 09:05:33 -08:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Michal Novotny
4d935d0e94 Bug 597224 - HTTP Cache: use directory tree to store cache files. sr=bzbarsky@mit.edu, a=blocker 2010-12-06 17:49:05 +02:00
Ehsan Akhgari
92d0d78683 Bug 616591 - Firefox 4.0b8pre crash in [@ nsHttpPipeline::GetConnectionInfo(nsHttpConnectionInfo**]; r=bzbarsky a=blocking-beta8+ 2010-12-04 04:21:03 -05:00
Ehsan Akhgari
65d254c5c6 Bug 614286 - Don't initialize the socket transport service unless we know that we're online; r=bzbarsky a=blocking-beta8+ 2010-11-25 00:20:11 -05:00
Josh Matthews
e6d29d8ef8 Bug 615745 - Make CookieServiceChild add strong pref observers. r=dwitte a=blocking-fennec 2010-11-30 21:47:08 -05:00
Ehsan Akhgari
fd067b7b7d Backed out changeset 630b08a7fe63 because of xpcshell test failures 2010-11-30 13:57:24 -05:00
Ehsan Akhgari
932c374a07 Bug 614286 - Don't initialize the socket transport service unless we know that we're online; r=bzbarsky a=blocking-beta8+ 2010-11-25 00:20:11 -05:00
Paul O’Shannessy
8b012b0588 Fix xpcshell failure from bug 468246 revealed by bug 613516 [a=bustage] landed on a CLOSED TREE 2010-11-29 20:57:30 -05:00
Christian Biesinger
3d0f970811 Bug 614717 retry: Make test_bug369787.js not hang when the test fails by
ensuring that do_test_finished is called even when an exception is thrown.
Also make the test work in the presence of PAC, where the channel changes
between asyncOpen and onStartRequest.

r=bz a=test-only
2010-11-29 15:41:21 -08:00
Christian Biesinger
5f1420c073 Backed out changeset dd249f45dc3d
Clearly I don't know hg well enough, didn't mean to commit all this. a=I-messed-up
2010-11-29 15:34:30 -08:00
Christian Biesinger
1c2cfa92d1 Bug 614717 Make test_bug369787.js not hang when the test fails by ensuring
that do_test_finished is called even when an exception is thrown.
Also make the test work in the presence of PAC, where the channel changes
between asyncOpen and onStartRequest.

r=bz a=test-only
2010-11-29 15:28:40 -08:00
Shawn Wilsher
915515d7fa Bug 607115 - use a much smaller guid format than we currently use for bookmarks
Part 1 - Mark and make nsIRandomGenerator threadsafe.
r=kaie
2010-11-23 16:04:28 -08:00
Dan Witte
0ba5de8279 Back out 3aa8e0293d5f for causing perma-orange on xpcshell debug. a=bustage 2010-11-12 10:13:34 -08:00
Dan Witte
b09a36ff06 Bug 547031 - Improve async error handling in cookies. Part 6: Implement async error handling. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
265c2e499c Bug 547031 - Improve async error handling in cookies. Part 5: Fix observers to deal with reentrancy. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
0b42ea484f Bug 547031 - Improve async error handling in cookies. Part 4: Fix SELECT bug in EnsureReadComplete(). r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
4ac1130d65 Bug 547031 - Improve async error handling in cookies. Part 3: Get the sync database connection early so it can't fail. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
5390824121 Bug 547031 - Improve async error handling in cookies. Part 2: Clean up TryInitDB(). r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
7550955b03 Bug 547031 - Improve async error handling in cookies. Part 1: Refactor to allow multiple DBStates. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
697a4e5be7 Bug 590843 - Fix integer literal overflow. r=sdwilsh, a=final+ 2010-11-12 09:32:35 -08:00
bjarne@runitsoft.com
1cebf1dae4 Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=bzbarsky 2010-11-12 16:48:03 +01:00
Michael Wu
30098037eb Backed out changeset 090046fc6891 bug 482935 due to a=orange 2010-11-10 19:29:51 -08:00
bjarne@runitsoft.com
b9e7d659bd Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed;
(Av1f) Allow content to be cached if it was loaded successfully.
r=(dwitte, jduell) a2.0=benjamin.
2010-11-11 01:02:15 +01:00
Ehsan Akhgari
056fc8aba7 Backed out changeset c85c2f1b0566 because of oranges on mochitest-1 2010-11-10 17:46:32 -05:00
bjarne@runitsoft.com
c6a0351901 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed;
(Av1e) Allow content to be cached if it was loaded successfully.
r=(dwitte, jduell) a2.0=benjamin.
2010-11-10 22:28:54 +01:00
Dan Witte
f108ef023f Bug 590843 - Fix bugs in purge logic. r=sdwilsh, a=final+ 2010-11-10 10:31:11 -08:00
Olli Pettay
34c20fd852 Backout bug 610654, a=backout 2010-11-10 14:19:38 +02:00
bjarne@runitsoft.com
a38fbe977f Bug 610654 - test failure xpcshell/tests/netwerk/test/unit/test_bug596443.js | Response1 == Response0, r=bz, a=bz 2010-11-10 13:21:48 +02:00
bjarne@runitsoft.com
7494f64840 Bug 596443 - [Unit test] SVG embedded by reference is not loading r=bz 2010-11-09 10:24:42 +01:00
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Ehsan Akhgari
c204727f4a Bug 614286 followup - Reorder the constructor initializer list to prevent compiler warnings
--HG--
extra : rebase_source : 3ab3d1371f8d8b396e665cffb5c57dc96a7187f3
2010-12-03 09:56:13 -05:00
Ehsan Akhgari
afd819cb81 Bug 614958 - Part 2: Protect the destruction of the callback objects the same way as the event sink object to avoid possible deadlock scenarios; r=bzbarsky a=blocking-beta8+ 2010-12-02 19:22:45 -05:00
Michal Novotny
c61b9b37d9 bug 363109 - body of HTTP 304 response is treated as a HTTP/0.9 response to subsequent HTTP request. r=biesi, sr=bz, a=blocker 2010-12-01 02:02:52 +02:00
Ehsan Akhgari
21a48aa96e Bug 614958 - Don't release the socket transport's event sink while we're holding a lock, since it can result in retrying to obtain the same lock again, which causes a deadlock; r=biesi,bsmedberg a=blocking-beta8+ landed on a CLOSED TREE 2010-12-02 16:29:09 -05:00
bjarne@runitsoft.com
11cc4ac3c8 Bug 468426 - improved support for "Vary: Cookie"-headers , r=biesi a=bsmedberg 2010-11-26 12:13:37 -05:00
Michal Novotny
ed3636fead Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN 2010-11-24 16:42:30 +01:00
Benjamin Smedberg
7a8f43edcd 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
Jason Duell
e071caf42e Bug 614449 - Build bustage in netwerk with --disable-ipc. a=bustage
--HG--
extra : rebase_source : d227076d5d83bf69fff53f6af4bbe9f6d7f7fa3a
2010-11-23 17:19:21 -08:00
Honza Bambas
4b0ec7f1c3 Bug 591707 - e10s: handle redirects from HTTP to a different protocol, r=jduell, a=blocking-fennec2.0b3+ 2010-11-23 23:56:06 +01:00
Ehsan Akhgari
8c6b82b73f Bug 599127 - Build bustage; a=me
--HG--
extra : rebase_source : fdf486565a6f0edcf4879500c5002f65303dd9e1
2010-11-23 10:07:00 -05:00
Michal Novotny
941be03f10 bug 599127 - Wyciwyg channel writes end up doing synchronous disk IO. r=jduell, a=betaN 2010-11-23 14:01:30 +02:00
Dan Witte
ee902f29f9 Bug 612072 - Crash [@ nsCookieService::EnsureReadDomain(nsCString const&) ]. r=sdwilsh, a=betaN+ 2010-11-22 13:50:25 -08:00
Dan Witte
6492961a2f Followup for review comment in bug 608545. a=b7+ 2010-11-02 10:46:19 -07:00
Dan Witte
2e9595d37a Bug 608545 - Set cookie: unexpected "deleted" observer notification when cookie already exists. r=sdwilsh, a=b7+ 2010-11-02 00:06:54 -07:00
Dan Witte
b2f34aa036 bug 608422 - cookies.sqlite-wal takes too much space for Fennec r=sdwilsh a=blocking-fennec 2010-10-30 22:32:45 -04:00
Mark Finkle
275d1802e2 Bug 608258 - Crash at visiting AMO [r=jdm a=blocking-fennecb2] 2010-10-29 11:38:26 -04:00
Kai Engert
d15be2e952 Bug 566478 - Invalid SSL cert error is not mobile-friendly [r=mayhemer a=blocking-fennecb2] 2010-10-28 11:46:00 -04:00
Patrick McManus
eff9996630 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
Dan Witte
26fd38c103 Bug 606719 - Browser stalls with connections left hanging in TCP close wait state. Part 1: rename LOG to SOCKET_LOG. r=mcmanus, a=b7+ 2010-10-28 10:09:08 -07:00
Mark Finkle
e0a3cc5dd7 Backout bug 566478 due to test orange a=orangehurts 2010-10-28 12:17:01 -04:00
Honza Bambas
1d9f2bbd55 Bug 566478 - Invalid SSL cert error is not mobile-friendly [r=kaie a=blocking-fennecb2] 2010-10-27 14:35:00 -04:00
Jason Duell
2cf0fe0695 Bug 559714 - bustage fix. a=fennec-2.0b2 2010-10-28 03:44:48 -07:00
Bjarne Herland
c3c3ef1802 Followup for bug 588804, bump the cache version to ensure that previously invalid caches get cleared. r=jst@mozilla.com, a=blocker 2010-10-26 17:34:58 -07:00
Honza Bambas
ab839fe1db Bug 575950 - (Fennec) SSL certificate is not confirmed for secure webpages, r=kaie+bz, a=blocking-fennec:2.0.b2+ 2010-10-26 13:57:18 +02:00
Bjarne Herland
e1c8aa002e Bug 596443, SVG embedded by reference is not loading. r=bzbarsky@mit.edu, a=bzbarsky@mit.edu 2010-10-25 15:47:40 -07:00
Bjarne Herland
22842d152f Bug 586908 - Infinite requests when proxy from system settings is redirected r=biesi, a=blocker 2010-10-25 15:47:40 -07:00
Honza Bambas
4d88c7dff6 Bug 597374 - Downloading of a file from a password protected directory fails, r=dolske, sr=bzbarsky, a=blocking2.0:betaN+ 2010-10-25 18:47:23 +02:00
Gervase Markham
c929293cf9 Bug 598911 - Reverse addition of blogspot.com to PSL. a=beltzner. 2010-10-25 15:10:59 +01:00
Gervase Markham
bca6b71e61 Bug 606922 - Add tsk.tr to PSL exceptions. a=beltzner. 2010-10-25 15:10:30 +01:00
Gervase Markham
5a2c629f53 Bug 606923 - Update .tz entry in PSL. a=beltzner. 2010-10-25 15:09:52 +01:00
Michael Wu
0c457777f2 Backed out changeset ddc9d5258911 due to a=bustage 2010-10-24 10:46:04 -07:00
Josh Matthews
662ca79f78 Bug 559714 - Backout bug 595293. Followup to the rest of bug 559714 landing. r=jduell a=blocking-fennec
--HG--
extra : rebase_source : 52a1040caf875007804c5b63a1e46938cd47fa39
2010-10-24 13:34:44 -04:00
Josh Matthews
14d42cf23c Backout changeset 367117828795 (Make httpd.js call gc()). a=orange
--HG--
extra : rebase_source : 6cc6a0fc6d973f631629915c99a294db5ad14f16
2010-10-22 15:59:18 -04:00
Josh Matthews
af294ffdcd Bug 508128 - Ensure input stream lifetime is not cut short by a GC. r=waldo a=test-only
--HG--
extra : rebase_source : 063ab6d672ebc597297eda18076b0164927bc605
2010-10-05 19:23:38 -04:00
Jason Duell
d2ae10dafb bug 617123: workaround: bump cache version to clear corrupted imgs from cache. a=bustage 2010-12-10 14:03:39 -08:00
Jason Duell
cea83e2a0f bug 617123: workaround by removing fallocate calls. a=beltzner 2010-12-10 10:03:19 -08:00
Daniel Veditz
2c4d750acb bug 614565: remove k12.hi.us from PSL. r=gerv, a=clegnitto 2010-12-09 16:02:44 -08:00
Boris Zbarsky
f1fcc1b6fd Bug 616591 followup to fix a comment., a=DONTBUILD 2010-12-08 21:01:17 -05:00
Honza Bambas
46efa72797 Bug 616591. Fix crash due to http transactions trying to get connection info from the http pipeline while it's being closed. r=bzbarsky, a=blocker 2010-12-08 20:57:14 -05:00
bjarne@runitsoft.com
ee5051fadc Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=test-only 2010-12-09 00:38:42 +01:00
Ehsan Akhgari
ad0f825d4c Set offline=false, if network manager init failed. Fixes xulrunner, and seamonkey+thunderbird test. Bug 616520, r=bz, a=bz
--HG--
extra : rebase_source : cb14db93d0b983bbec4e87127124bd4119e583fd
2010-12-08 18:08:09 +01:00
Henri Sivonen
42a91dc71f Back out changeset 465ac4717f88 due to orange. a=orange. 2010-12-08 16:17:18 +02:00
bjarne@runitsoft.com
12b687c614 Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=test-only 2010-12-08 13:07:16 +01:00
Patrick McManus
b46439ff28 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
Daniel Holbert
3cdd558524 Bug 613643: Reorder nsBaseChannel constructor init list to fix build warning. a=azakai r=dougt DONTBUILD 2010-11-19 15:53:30 -08:00
Josh Matthews
14b2a8b06d Bug 605327 - Add proper cancellation to e10s wyciwyg channels. r=dwitte a=blocking-fennec 2010-11-19 16:12:45 -05:00
Steven Michaud
2e29bcd78b Bug 611910 - (try again with leak fixed) r=josh a=blocking2.0BetaN+ 2010-11-19 14:58:59 -06:00
Daniel Holbert
9863cb8ff8 Backed out changeset 16c2e141d418 (Bug 611910) due to crashtest leak/orange. a=orange 2010-11-19 11:08:13 -08:00
Steven Michaud
ca1e7b72a9 Bug 611910 - r=josh a=blocking2.0BetaN+ 2010-11-19 12:14:15 -06:00
Robert O'Callahan
8d1417ce26 Bug 508128 - Additional diagnostics to report more data about test exceptions. r=waldo a=test-only
--HG--
extra : rebase_source : ececb0215cac3139336a67f429320ea4106e391f
2009-11-05 15:06:00 -05:00
Chris Pearce
5256826dd9 Bug 508125 - add gc() in httpd.js, reduces memory by 1GB in xpcshell.exe during mochitest run. r=waldo a=test-only
--HG--
extra : rebase_source : 98f6723f052afd838df34564559502a062e7427e
2010-09-30 16:15:47 -04:00
Michal Novotny
8e74cf8334 Bug 559714 - Turn off cache in the child process. r=jduell a=blocking-fennec
--HG--
extra : rebase_source : 1d91098b7ee3bc5c7971cdd4f13b7e0c0a815945
2010-05-04 17:07:00 -04:00
Mark Banner
44f357ae3f Fix non-IPC bustage from bug 536289. Patch as agreed with jdm over irc. a=bustage-fix. 2010-10-21 22:01:38 +01:00
Alon Zakai
19b1465aaf Bug 536289 - Part 2: Make FTP work for fennec. r=jduell a=blocking-fennec 2010-08-10 14:47:00 -04:00
Josh Matthews
cfd2d775ff Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Dan Witte
bc8a777af0 Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. Followup fix for test. r=jdm, a=blocking-fennec2.0b2+ 2010-10-21 11:36:13 -07:00
Jae-Seong Lee-Russo
6c6ab6aa0e Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-21 11:36:13 -07:00
Michal Novotny
2ebf307d81 bug 599200 - Too much space can be allocated for cache block files. r=tglek@mozilla.com, a=blocker 2010-09-24 14:20:23 +02:00
Michal Novotny
9336a300ba bug 604880 - Doom cache-entry if writing data and/or metadata fails. r=bjarne@runitsoft.com, sr=bzbzrsky@mit.edu, a=blocker 2010-10-19 19:26:38 +02:00
Mounir Lamouri
4291f1e845 Backed out changeset e72707266b4a because of orange on Win Debug. a=backout 2010-10-21 15:16:34 +02:00
Michal Novotny
c12906c97c Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b 2010-09-22 11:47:46 +02:00
Dan Witte
39d8c0abf3 Bug 605835 - Stack exhaustion in cookie observers on startup with 10-20 nightly. r=sdwilsh, a=beta8+ 2010-10-20 12:11:54 -07:00
Honza Bambas
e618ce3cbb Bug 536295 - e10s HTTP: offline application cache, r=dwitte, sr=cbiesinger, a=fennec-2.0b2+
--HG--
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/OfflineCacheUpdateChild.cpp
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/nsOfflineCacheUpdateService.cpp
2010-10-20 19:12:32 +02:00
Dan Witte
353424c48f Bounce input stream and FTP patches for Windows test failure. a=bustage 2010-10-19 19:46:54 -07:00
Dan Witte
baf47b6be2 Bug 598196 - Use journal_mode = WAL in cookies. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
27c0df58b7 Bug 599799 - Cookies are doubled when switching between FF3.6 and FF4beta. Part 1: remove NULL baseDomains. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
95a68e5750 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 5: Replace expired cookies eagerly, and make expired cookies visible in API results. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
b17354e38b Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 4: delete expired cookies on migrate. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
68ea23abd0 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 3: test improvements. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte
a3549caaa2 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 2: add triple index. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte
4d71dd8fd7 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 1: fix mDefaultDBState. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte
c50d79868f Bug 595925 - Use OpenUnsharedDatabase in cookies. r=sdwilsh, a=final+ 2010-10-19 17:24:52 -07:00
Alon Zakai
7b7c9519a3 Bug 536289 - Part 2: Make FTP work for fennec. r=jduell a=blocking-fennec 2010-08-10 14:47:00 -04:00
Josh Matthews
796315a49f Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Dan Witte
5957895323 Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. Part 2: fix DELETE_ON_CLOSE behavior. r=jdm, a=blocking-fennec2.0b2+ 2010-10-19 17:24:52 -07:00