Commit Graph

6845 Commits

Author SHA1 Message Date
Ehsan Akhgari
8c6bb3c99a 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
5d5fac42ff 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
877de0a1b4 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
d12271f37a 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
Ehsan Akhgari
6651ae9849 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
Ehsan Akhgari
7daaa00ea9 Backed out changeset 630b08a7fe63 because of xpcshell test failures 2010-11-30 13:57:24 -05:00
Ehsan Akhgari
dfed869c9f 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
26de26b45a 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
4c2c51437a 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
88ff626760 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
6f6cd3b97a 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
bjarne@runitsoft.com
5f604506d6 Bug 468426 - improved support for "Vary: Cookie"-headers , r=biesi a=bsmedberg 2010-11-26 12:13:37 -05:00
Michal Novotny
bf0cd129cc Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN 2010-11-24 16:42:30 +01:00
Benjamin Smedberg
77ee3458b6 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
a5994505b4 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
2e67f4a1bb 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
52c7a07101 Bug 599127 - Build bustage; a=me
--HG--
extra : rebase_source : fdf486565a6f0edcf4879500c5002f65303dd9e1
2010-11-23 10:07:00 -05:00
Michal Novotny
fe7523b44a 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
54619219ed Bug 612072 - Crash [@ nsCookieService::EnsureReadDomain(nsCString const&) ]. r=sdwilsh, a=betaN+ 2010-11-22 13:50:25 -08:00
Patrick McManus
e64f7b855a 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
1ed897a697 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
79d095acc1 Bug 605327 - Add proper cancellation to e10s wyciwyg channels. r=dwitte a=blocking-fennec 2010-11-19 16:12:45 -05:00
Steven Michaud
262e06c735 Bug 611910 - (try again with leak fixed) r=josh a=blocking2.0BetaN+ 2010-11-19 14:58:59 -06:00
Daniel Holbert
9325c3dddc Backed out changeset 16c2e141d418 (Bug 611910) due to crashtest leak/orange. a=orange 2010-11-19 11:08:13 -08:00
Steven Michaud
284bf34b2f Bug 611910 - r=josh a=blocking2.0BetaN+ 2010-11-19 12:14:15 -06:00
Dan Witte
f14720c3ee Back out 3aa8e0293d5f for causing perma-orange on xpcshell debug. a=bustage 2010-11-12 10:13:34 -08:00
Dan Witte
6f2f3bc827 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
b5497e6704 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
4e2da22b12 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
d68adf317c 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
c593ee0bc6 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
087d7b66aa 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
1a57637759 Bug 590843 - Fix integer literal overflow. r=sdwilsh, a=final+ 2010-11-12 09:32:35 -08:00
bjarne@runitsoft.com
c8089ba244 Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=bzbarsky 2010-11-12 16:48:03 +01:00
Michael Wu
f8ed923585 Backed out changeset 090046fc6891 bug 482935 due to a=orange 2010-11-10 19:29:51 -08:00
bjarne@runitsoft.com
935a3cd3d5 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
a968458dc9 Backed out changeset c85c2f1b0566 because of oranges on mochitest-1 2010-11-10 17:46:32 -05:00
bjarne@runitsoft.com
a181c1aca6 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
272d7ce6a1 Bug 590843 - Fix bugs in purge logic. r=sdwilsh, a=final+ 2010-11-10 10:31:11 -08:00
Olli Pettay
9f84ca2d49 Backout bug 610654, a=backout 2010-11-10 14:19:38 +02:00
bjarne@runitsoft.com
3b3854a72b 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
01af56f4d0 Bug 596443 - [Unit test] SVG embedded by reference is not loading r=bz 2010-11-09 10:24:42 +01:00
Chris Jones
339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Dan Witte
322d2841cd Followup for review comment in bug 608545. a=b7+ 2010-11-02 10:46:19 -07:00
Dan Witte
d88d547694 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
470e6b6e72 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
0535b6b4e4 Bug 608258 - Crash at visiting AMO [r=jdm a=blocking-fennecb2] 2010-10-29 11:38:26 -04:00
Kai Engert
09c3a31272 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
cbcb299a21 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
7ba8683bb3 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