Commit Graph

1656 Commits

Author SHA1 Message Date
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
Jae-Seong Lee-Russo
59fe8fd6d5 Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. Part 1: serialize them. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-19 17:24:52 -07:00
Mark Banner
76e1d7ec5f Fix non-IPC build bustage from bug 561085. a=bustage-fix 2010-10-19 17:32:37 +01:00
Dan Witte
9a433ac962 Bug 595305 - Factor cookie third-party URI code into separate API. r=bent, a=betaN+ 2010-10-19 09:37:03 -07:00
Josh Matthews
812c0770da Bug 561085 - Bustage fix. a=bustage 2010-10-19 11:44:31 -04:00
Josh Matthews
f90219471a Bug 561085 - Add IDPL queueing to wygiwyg protocol. r=dwitte a=blocking-fennec 2010-10-17 09:41:50 -04:00
Michal Novotny
ac7049477a Bug 561085 - Make wyciwyg channel work in e10s. r=dwitte sr=biesi
--HG--
rename : content/html/document/public/nsIWyciwygChannel.idl => netwerk/protocol/wyciwyg/nsIWyciwygChannel.idl
rename : content/html/document/src/nsWyciwygChannel.cpp => netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp
rename : content/html/document/src/nsWyciwygChannel.h => netwerk/protocol/wyciwyg/nsWyciwygChannel.h
rename : content/html/document/src/nsWyciwygProtocolHandler.cpp => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp
rename : content/html/document/src/nsWyciwygProtocolHandler.h => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.h
2010-10-11 13:35:10 +02:00
Josh Matthews
fcdd709275 Bug 536289 - Generalize IPDL event queue some more. r=jduell a=blocking-fennec 2010-10-16 01:26:14 -04:00
Boris Zbarsky
52ff738d80 Bug 602780. Fix handling of hosts in NS_SecurityCompareURIs. r=jst, a=blocker,jst 2010-10-15 17:55:53 -04:00
Patrick McManus
baa6ce418a Bug 593386 - HTTP Pipeline Blacklist annotations. r=jduell
Add EFAServer, Nestscape Enterprise 4/5/6, and Weblogic <=6 to
server pipeline blacklist, joining iis/4, iis/5, and nses/3.

The previous code did 3 strcasestr()s on every http transaction to check
the old blacklist - it did that even if pipelining was configured off.

The new code creates indexes to the lookups according to the first
char and changes the comparison to straight strncmp()s which are
totally fine for finding these signatures... Servers that begin with A
don't need any string operations now, and even servers that begin with
M have gone from 3 strcasestr()s to 2 strcncmp()s which is definitely
better.
2010-09-03 21:35:49 -04:00
Justin Lebar
1e91d0253e Backing out changesets bb01920c2708 and a4a69aef3cba due to orange. 2010-10-15 16:24:08 -07:00
Boris Zbarsky
6e3f583fb1 Bug 602780. Fix handling of hosts in NS_SecurityCompareURIs. r=jst, a=blocker,jst 2010-10-15 17:55:53 -04:00
Ehsan Akhgari
df16cbf877 Bug 525222 - XML errors possible on file:// listings; r=bzbarsky a=jst
--HG--
extra : rebase_source : 343aa3a018f007db8336e4c221fef27981e5bc45
2010-10-12 18:30:42 -04:00
Dão Gottwald
18d8144ca5 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
d83eb5d7d0 Bug 517584 - Fix orange in test for bug 480619. r=dwitte a=blocking-fennec 2010-10-14 17:28:45 -07:00
Jon Hemming
6d067a9e1a Bug 591881 - Suspend pruning of idle connections when possible. r=dwitte a=blocking-fennec 2010-10-14 17:28:43 -07:00
Brandon Sterne
ed2ecaca2e Bug 561051 - make CSP frame-ancestors and X-Frame-Options work with viewSourceChannels, a=jst 2010-10-14 15:25:00 -07:00
Jonas Sicking
c40b22120b Followup for bug 575946. Enable all the tests on windows by using a different way of testing that the full file was written. a=NPOTB 2010-10-13 21:13:16 -07:00
Jonas Sicking
e7e13b2084 Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Honza Bambas
c67419b5b6 Bug 537381 - -1 as port number cause default port to be used, should fail to load, r=bz, a=blocking:final 2010-10-11 21:39:09 +02:00
Alon Zakai
3fad238bbf Bug 599428 - Optimize permissions IPC. r=dwitte a=blocking-fennec 2010-10-09 11:07:38 -07:00
Honza Bambas
66f2a8369f Bug 586766 - e10s http: fix redirect/cancel race. r=jduell, a=blocking-fennec-b2 2010-10-08 22:07:58 -07:00
Honza Bambas
4f467cb08b Bug 586738 - e10s http: check HttpChannelChild::Redirect1Begin cancel logic. r=jduell, a=blocking-fennec-b2 2010-10-08 22:07:49 -07:00
Ehsan Akhgari
c15794aaf5 Bug 430910 - nsStandardURL gets confused when the query string or the anchor name contains slash characters; r=bzbarsky a=roc 2010-09-24 14:21:17 -04:00
Dan Witte
b9cf988084 Back out all cookie changes due to bug 602746. a=omgeverythingisbroken 2010-10-07 19:02:30 -07:00
Josh Matthews
35560153ae Bug 587171 - Pass SetPriority IPC messages to redirected channels. r=honzab a=blocking-fennec
--HG--
extra : rebase_source : ceffe93f7f98434db5b5c82350cfc7963bad7640
2010-09-15 13:12:38 -07:00
Josh Matthews
c14681a2e6 Bug 591708 - Initiate all PHttpChannel protocol deletion from the child to avoid races. r=honzab a=blocking-fennec
--HG--
extra : rebase_source : 76568dbe568345aaf276ef166407c9338bf8f477
2010-09-15 12:26:15 -07:00
Josh Matthews
a125b4f2db Bug 598076 - Update HTTPChannelChild to use new general event queueing infrastructure. r=jduell a=blocking-fennec
--HG--
extra : rebase_source : a6e12cbcf6a98139620f19590ada2cde583d70bd
2010-09-20 14:37:13 -04:00
Josh Matthews
94609b6e60 Bug 598076 - Create EventQueue class to allow multiple necko protocols to reuse IPDL queueing code. r=jduell a=blocking-fennec
--HG--
extra : rebase_source : 91b4a645f9e13fbed25093c6a44f4bf2e6c71ad1
2010-09-20 14:37:09 -04:00
Dan Witte
246bdbe90c Bug 598196 - Use journal_mode = WAL in cookies. r=sdwilsh, a=betaN+ 2010-10-07 14:01:16 -07:00
Dan Witte
4ed4ad788c Bug 599799 - Cookies are doubled when swithing between FF3.6 and FF4beta. r=sdwilsh, a=beta8+ 2010-10-07 14:01:02 -07:00
Dan Witte
d35ee96b79 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 3: test improvements. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Dan Witte
4186156de5 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 2: add triple index. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Dan Witte
ec30bfbdb3 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 1: fix mDefaultDBState. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Dan Witte
26b9bc422a Bug 595925 - Use OpenUnsharedDatabase in cookies. r=sdwilsh, a=final+ 2010-10-07 14:00:17 -07:00
Honza Bambas
a346c6b678 Bug 587146 - e10s http: fix auth test in test_resumable_channel.js, r=dwitte, a=testonly 2010-10-07 16:43:17 +02:00
Ehsan Akhgari
03894bd5c2 Bug 568816 - Switching out of privacy mode fails when privacy mode is enabled via the command line option 'privacy-toggle'; r=zpao,dolske,jimm sr=rstrong a=blocking-beta7+
--HG--
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/do_test_0-privatebrowsing.js
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/test_0-privatebrowsingwrapper.js
2010-10-02 11:53:37 -04:00
Ehsan Akhgari
ff11ef48ac Backed out changeset b08b684644a1 (bug 568816) because of Ts regression on Windows 2010-10-03 22:18:18 -04:00
Ehsan Akhgari
b4c63ec0a1 Bug 568816 - Switching out of privacy mode fails when privacy mode is enabled via the command line option 'privacy-toggle'; r=zpao,dolske sr=rstrong a=blocking-beta7+
--HG--
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/do_test_0-privatebrowsing.js
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/test_0-privatebrowsingwrapper.js
2010-10-02 11:53:37 -04:00
Doug Turner
6a67b9bb7e Bug 558624 - e10s Cookies: Optimize implementation. Part 5. Mop up mRemoteChannel and its uses. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 1a9ca4b7e50588c556d1b290cca1c3c4546902d1
2010-10-01 21:17:27 -07:00
Doug Turner
8aed7e5306 Bug 558624 - e10s Cookies: Optimize implementation. Part 4. Remoeve cookies being set in the child by necko. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 2045bc83fcc7627f42f0820c781f2ad2bd10a261
2010-10-01 21:17:26 -07:00
Doug Turner
33b05df1a8 Bug 558624 - e10s Cookies: Optimize implementation. Part 3. Forward request head to child during OnStartRequest. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : f7becf88a7e0daddf680e578b82b1e198c4d5437
2010-10-01 21:17:23 -07:00
Doug Turner
b9e1d30fa7 Bug 558624 - e10s Cookies: Optimize implementation. Part 2. Tests. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : d199cb380ff0a69353c6f35d6d959fb95b226bf6
2010-10-01 15:18:55 -07:00
Doug Turner
1650677c20 Bug 558624 - e10s Cookies: Optimize implementation. Part 1. Clean up warning in http. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 5cbdc4b4314575ba339bc6c663279deb8233e812
2010-10-01 15:18:55 -07:00
Jason Duell
bc3c0f9366 Bug 599122: Don't initialize PSM on child. r=honza a=blocking-fennec-2.0b2 2010-09-30 23:57:01 -07:00
Josh Matthews
ad7e8474d6 Bug 595972 - Fix event queue state invariants on HTTP channel resume. r=jduell a=blocking-fennec 2010-09-17 00:23:25 -07:00
Mounir Lamouri
8ac657546b Merging backout. 2010-09-30 17:05:19 -07:00
Mounir Lamouri
6fb5c95481 Bug 600813 - Removing PUT and DELETE form methods. a=blocking-b7 2010-09-30 16:55:11 -07:00
Jason Duell
6fbe21f5ba Bug 596476 followup: Forgot to change name of constant. r=me a=beta7 2010-09-30 11:39:39 -07:00
Jason Duell
5618b62fd6 Guarantee smart_size algorithm using correct directory, and safely. r=jst, a=beta7 2010-09-29 16:41:03 -07:00
Jason Duell
3fdec5a382 Use 1 GB cache size while we wait for the smart size event. r=jst, a=beta7 2010-09-29 16:41:03 -07:00
Jason Duell
bb69c203d1 Convert all sizes in cache smart size logic to use KB. r=jst, a=beta7 2010-09-29 16:41:03 -07:00
Jason Duell
a0e7fe6406 Bug 596476 Previous default cache size was 50, not 250 MB. r=jst, a=beta7 2010-09-29 16:41:03 -07:00
Jason Duell
5ae2b286c8 Bug 598007: Bump HTTP cache version number to see if it affects crash rate. r=me a=beta7 2010-09-28 18:26:57 -07:00
Doug Turner
972855f4bb Bug 600235 - Remove wifi scanning code on windows for versions less than XP SP3. r=stuart, a=beltzner
--HG--
extra : rebase_source : d8fc9a5eaf7c4a7fc0bc8fc0e4fd5e77bb698954
2010-09-28 15:07:15 -07:00
Doug Turner
f9933e7a77 fixing build bustage - bug 600235. a=me 2010-09-28 14:34:24 -07:00
Doug Turner
b70453821a Bug 600235 - Remove wifi scanning code on windows for versions less than XP SP3. r=shaver a=shaver
--HG--
extra : rebase_source : 44a3ebb42b991d777c55084870b938586f4812a0
2010-09-28 10:01:23 -07:00
Wan-Teh Chang
42d2fa87f3 Bug 591523: Disable SSL false start by default.
r=sayrer a=blocking2.0:beta7
2010-09-21 14:57:09 -07:00
Byron Milligan
18acf78165 Bug 583288 (1/2) - Lets client to force caching on nsICachingChannel no matter the HTTP method. r=sicking a2.0=sicking 2010-09-10 06:58:22 +02:00
Ian Neal
f9ccd782a3 Bug 589613 - [SeaMonkey 2.1, mochitest-browser-chrome] browser_Services.js | Services.search exists
r=gavin a=NPOTB
2010-09-18 13:42:07 +01:00
Edmund Wong
02f855dc6b Bug 535048: Remove nsILeakDetector leftovers from the tree. r=khuey a=test-only 2010-09-17 21:27:12 -04:00
Bjarne Herland
6e12c675dc Bug 596808 - nsDiskCacheDevice::Init() called twice resulting in no disk cache available r=jduell, a=betaN 2010-09-16 20:21:16 -07:00
Dan Witte
271a6ebe47 Remove unnecessary sleep(). No bug, test-only. 2010-09-16 13:21:12 -07:00
Taras Glek
beb03cd5bb Bug 592520 - Do not fragment the hell out of CACHE__00[1-3]__. r=bsmedberg/jduell, a=betaN+ 2010-09-16 13:21:12 -07:00
Dan Witte
61a3b4f887 Bug 580449 - Address nsCookieService.cpp review. r=jdm, a=fennec2.0+ 2010-09-16 13:21:12 -07:00
Dan Witte
49204383e2 Bug 580448 - Document PCookieService.ipdl. r=jdm, a=fennec2.0+ 2010-09-16 13:21:12 -07:00
Gervase Markham
7994377fda Bug 576508 - rollup of changes to the Public Suffix List. a=beltzner.
--HG--
extra : rebase_source : a1e5e5a1ac16da84b2bc4c429b68bd363cc485fa
2010-09-16 18:02:54 +01:00
Jason Duell
d1d99752fe Bug 595293 - e10s: shrink cache on child. r=dwitte, a=beta7 2010-09-16 01:34:37 -07:00
Miika Jarvinen
2f9962ddf7 Bug 593142 - Remove DOM window check code from netwerk r=romaxa a=npodb 2010-09-15 22:30:04 -07:00
Brian Crowder
1cae557002 Bug 567267 - disable decoding in HttpChannelParent, make smart decisions in child process, r=dwitte, blocking-fennec2.0b1=mfinkle 2010-09-15 15:55:08 -07:00
Brian Crowder
6d2f11959b Bug 567267 - Move nsIEncodedChannel logic to base Http class, r=dwitte, blocking-fennec2.0b1=mfinkle 2010-09-15 15:55:08 -07:00
Honza Bambas
2cdecb4172 Bug 594882 - URL classifier result ignored (malware site not blocked) because of bug 513008 + re-land of backout from bug 589296, r=cbiesinger, a=blocking:betaN+ 2010-09-16 00:46:17 +02:00
Honza Bambas
aeebe66ad9 Bug 556734, r=bz, a=blocking:final+ 2010-09-16 00:46:17 +02:00
Doug Turner
722678172a Bug 516302 - nsWifiMonitor::DoScan spins in a tight loop on error r=blassey a=jst
--HG--
extra : rebase_source : d95276959e12128ac4a039b597c4b677265500b9
2010-09-15 09:39:18 -07:00
Jason Duell
5b651ac6a2 Bug 595413: crash in nsCacheService::SetDiskCacheCapacity. r=jst, a=blocking-beta7 2010-09-15 11:42:40 -07:00
Byron Milligan
1a24c21c2d Bug 559942 - RE-LAND- Heuristic to pick default HTTP cache size. r=dwitte, gavin, ui=limi, a=blocks-beta7 2010-09-15 11:42:38 -07:00
Gervase Markham
1181b582c2 Backed out changeset 14dc66dd53c1 (orange). 2010-09-15 18:41:43 +01:00