Commit Graph

2941 Commits

Author SHA1 Message Date
Michael Wu
90fb74e443 Merge backout (to fix bug 656172) 2011-05-10 19:10:01 -07:00
Michael Wu
899d3b6b5d Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer 2011-05-10 18:27:51 -07:00
Ed Morley
97cc9c4eea Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Mike Hommey
87f8525f75 Bug 620931 part 4 - Fix resource://app/ to always point to the same as resource:///. r=bsmedberg 2011-05-10 15:50:15 +02:00
Mike Hommey
a1c93a6f14 Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
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-02-25 12:53:36 +01:00
Mike Hommey
20afaf1296 Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg 2011-02-25 12:48:02 +01:00
Mounir Lamouri
fc89f5809d Merging cedar with mozilla-central. 2011-05-08 18:23:36 +02:00
Ed Morley
a8711ede9f Bug 654552 - Remove WinCE code from netwerk/* ; r=cbiesinger 2011-05-07 10:03:16 +02:00
Nick Hurley
bf26c8a98e bug 648878 - move get(local|remote)(address|port) to httpchannelchild r=jduell 2011-05-05 11:45:59 -04:00
Boris Zbarsky
8b85800ca4 Backed out changeset 998b91ea0ffa (bug 648878) because it doesn't build on Windows. 2011-05-03 19:34:58 -04:00
Nick Hurley
22595309e7 bug 648878 - move get(local|remote)(address|port) to httpchannelchild, r=jduell 2011-05-03 17:47:05 -04:00
Patrick McManus
da0beb9021 Bug 653530 - HTTP Transaction multiply dispatched r=honzab
--HG--
extra : rebase_source : 6ba6ea647bd83154f03ded03ec4fc88580fc8f2f
2011-04-29 15:32:40 -04:00
Chris Jones
31aa2c4e77 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Patrick McManus
d4829d7fc0 bug 652761 ABORT: half open complete but no item: 'index != -1' with embedded src port 80000 r=honzab 2011-04-28 17:43:24 -04:00
Ms2ger@gmail.com
e6d71c2141 Bug 572652 - Remove the Accept-Charset header from HTTP requests. r=bz 2011-05-08 10:33:18 +02:00
Daniel Holbert
d583908c8e Bug 650871: Use unsigned int as loop counter in nsHttpConnectionMgr::OnMsgReclaimConnection, to fix GCC warning. r=biesi r=mcmanus 2011-04-20 01:28:38 +02:00
Patrick McManus
d70ab6f02d bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell
--HG--
extra : rebase_source : cdcfdf33e201ba83ab9b3370facf8c7a16fe469d
2011-04-13 08:59:29 -04:00
L. David Baron
11a8d31d81 Backout changeset e6d044d30abf (bug 607741) for not compiling. 2011-04-11 23:17:43 -07:00
Patrick McManus
fa9e2d5fa0 bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell 2011-04-11 22:37:59 -07:00
Ehsan Akhgari
757178bcf2 Backout changeset 649e429d342f (bug 607741) because of mobile tree oranges 2011-04-11 13:28:41 -04:00
Ehsan Akhgari
5376138030 Merge cedar into mozilla-central 2011-04-10 15:11:22 -04:00
Honza Bambas
27908b070b Bug 526207: Make IP address and port information available to HTTP activity observers. r=biesi 2011-04-10 10:33:08 -07:00
Jason Duell
0ffe868d6d Bug 561694: Optimize IPDL traffic for necko OnProgress/OnStatus. r=honzab 2011-04-09 20:42:05 -07:00
Patrick McManus
636d6f89b9 bugzilla 595316 remove static cast of nsAHttp* objs r=honzab
--HG--
extra : rebase_source : 1226b809dc071fa71340e461a6fde36c8da7d39b
2011-04-08 14:37:16 -04:00
Patrick McManus
c742414ab8 624739 - sort idle persistent http connections by pereceived server cwnd
--HG--
extra : rebase_source : 29c50d0c0e99220bb87b5f584188fad49cc33439
2011-04-08 14:36:47 -04:00
Patrick McManus
a3b0c12c5f 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.

--HG--
extra : rebase_source : 9d7a4b5a9112e17144fb510e3d8eb188919e5bf4
2011-04-08 14:36:38 -04:00
Ehsan Akhgari
9fc520a05c Merge cedar into mozilla-central 2011-04-06 16:39:14 -07:00
Matheus Kerschbaum
4eb6429f47 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Patrick McManus
0277bf09fc 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
835fc0fb3a Bug 632419 - HTTP 100 level parser race condition r=bz 2011-03-23 10:59:58 -04:00
Daniel Holbert
9fb06efc8b Bug 623948 followup: Fix gcc 4.5 build error by explicitly extracting pointer from nsRefPtr in 2 LOG lines. r=ehsan 2011-04-01 14:38:46 -07:00
Julian Seward
e847adf4da Bug 560579 - bitfield-induced race in class nsHttpTransaction; r=biesi 2011-03-24 15:51:00 -04:00
Ehsan Akhgari
2cc302e02c Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar
b8fdd3ad9d Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Patrick McManus
bdfd778eac bug 623948 - Accelerate TCP connection retries in HTTP r=honzab 2011-03-31 15:38:30 -04:00
Ehsan Akhgari
cccdef8b2f 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
4342d9e7e4 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5 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
699024f868 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598 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
Julian Seward
dc5e43c133 Bug 560579 - bitfield-induced race in class nsHttpTransaction; r=biesi 2011-03-24 15:51:00 -04:00
Ehsan Akhgari
bd51cb9b94 Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar
18b3ad188c Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Patrick McManus
82e6a8e87c bug 623948 - Accelerate TCP connection retries in HTTP r=honzab 2011-03-31 15:38:30 -04:00
Dão Gottwald
0727bc7c1c Bug 646428 - Remove nsIHttpProtocolHandler's language attribute. r=bz 2011-04-06 17:17:28 +02:00
L. David Baron
db6289bc0a Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
Justin Lebar
d5dcbf68a6 Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Ehsan Akhgari
cb6a971f1a Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
bjarne@runitsoft,com
81e0f6e13f 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
a7344b2af9 Backout changeset f406ffe65c08 (Bug 620931 part 1) for causing bug 644790. 2011-03-24 21:07:53 -07:00
L. David Baron
7c0acef8c1 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
L. David Baron
acca01a9db Backout changeset 9df6e8117fe0 (Bug 620931 part 4) for causing bug 644790. 2011-03-24 21:06:44 -07:00
Joe Drew
60240d0fa2 Back out bug 628561 (d5fad1ab2f00) on suspicion of causing Tp regressions. 2011-03-24 20:30:59 -04:00
Joe Drew
80ab662e2e Back out bug 643352 (118451f8ec76) on suspicion of causing Tp regressions. 2011-03-24 20:29:08 -04:00
Joe Drew
f6404fbaaa Back out bug 632419 (dbe8ef0649ac) on suspicion of causing Tp regressions. 2011-03-24 20:27:11 -04:00
Ehsan Akhgari
a0a65195df Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Patrick McManus
7d9dc8d482 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
a225c14344 Merge mozilla-central into cedar 2011-03-24 10:54:50 -04:00
Mike Hommey
d982a02746 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
0cfcd44b08 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
2fbedf06e8 Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg 2011-03-24 15:27:37 +01:00
Ehsan Akhgari
452577e86e Bug 616745 followup - fixed typo 2011-03-23 23:48:52 -04:00
Patrick McManus
2c0ac326b8 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
6985fe57fb 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
7a74f6a5b4 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
bjarne@runitsoft.com
884a180af5 Bug 561276 - Cookie dependency on cache determination for image redirects r=bz 2011-03-23 23:36:53 -04:00
Ms2ger
9e7db677a2 Bug 637186 - Ignoring return value of SendDeleteSelf in HttpChannelParent::Delete; r=honzab.moz 2011-03-22 15:16:33 -04:00
Mitchell Field
6faf9acaef Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Brian Smith
2eef6d784d Bug 637361: Backout bug 573043, a=blocker 2011-03-01 19:16:22 -08:00
Brian Smith
a5edaf27e8 Bug 637361: Backout bug 573043 2011-03-01 19:11:22 -08:00
Kyle Huey
225c13b333 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
a6788f0842 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
Patrick McManus
85bb7d9710 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
Honza Bambas
48a2c64df8 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
ae544d7e57 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
Neil Rashbrook
32c305081f Bug 616809 Remove CRs from netwerk r=biesi a=jst DONTBUILD 2011-02-06 00:04:14 +00:00
timeless@mozdev.org
a119175fc3 Bug 584999 remove unused nsresult rv in nsHttpChannel::ContinueOnStartRequest2
r=biesi
2010-08-06 16:16:32 +03:00
timeless@mozdev.org
4cd731a579 Bug 616745 warning: comparison between signed and unsigned integer expressions in nsHttpTransaction::LocateHttpStart
r=biesi
2011-03-23 23:31:28 -04:00
bjarne@runitsoft.com
7453b6a04c 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
2312c4c0f3 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
490808e6df 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
Dan Witte
9bba08d791 Fix bug 624764. r=bsmedberg, a=betaN+ 2011-02-02 14:57:48 -08:00
Patrick McManus
59dc59387e 624374 - remove unused nsHttpConnection::mLock. r=honzab.moz@firemni.cz, a=jst@mozilla.com 2011-02-02 10:53:06 -08:00
Patrick McManus
34e3663c3e 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
d2c0789cb6 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
Dave Townsend
23fdf3025d Backout of changeset 9acd51502a65 from bug 579846. a=bustage 2011-01-24 14:59:51 -08:00
Dave Townsend
d6e35158cb Backout of changeset 38d1b321c98b from bug 579846. a=bustage 2011-01-24 14:58:20 -08:00
Sid Stamm
ea85829c9d 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
ee2433f53e 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
46257e93e3 Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended, r=bzbarsky+hsivonen, a=betaN+ 2011-01-23 23:49:30 +01:00
Patrick McManus
9979419bae 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
8ad761ea74 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
6e7b0137b9 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
bf47b4a294 Bug 620194 - "ASSERTION: nsLoadGroup not thread-safe" under nsWyciwygCloseEvent::~nsWyciwygCloseEvent, r=bz, a=b 2010-12-23 01:56:26 +02:00
Mark Banner
3b22162d5b 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
6993d42063 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
Boris Zbarsky
b8f0570173 Bug 616591 followup to fix a comment., a=DONTBUILD 2010-12-08 21:01:17 -05:00
Honza Bambas
37984326e6 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
Ehsan Akhgari
0e50f704ba 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
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
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
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
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
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
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
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
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
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
Chris Jones
339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06: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
Mark Finkle
e1dcc97a16 Backout bug 566478 due to test orange a=orangehurts 2010-10-28 12:17:01 -04:00
Honza Bambas
46bfc7b965 Bug 566478 - Invalid SSL cert error is not mobile-friendly [r=kaie a=blocking-fennecb2] 2010-10-27 14:35:00 -04:00
Honza Bambas
b722efd354 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
Mark Banner
026b21cd31 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
b758507282 Bug 536289 - Part 2: Make FTP work for fennec. r=jduell a=blocking-fennec 2010-08-10 14:47:00 -04:00
Josh Matthews
484da22282 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
Jae-Seong Lee-Russo
cd75c58252 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
Honza Bambas
2a43330d52 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
6b7bdc50fe Bounce input stream and FTP patches for Windows test failure. a=bustage 2010-10-19 19:46:54 -07:00
Alon Zakai
d7339e27bc Bug 536289 - Part 2: Make FTP work for fennec. r=jduell a=blocking-fennec 2010-08-10 14:47:00 -04:00
Josh Matthews
c7fdd809c9 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
Jae-Seong Lee-Russo
b33b8c353d 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
3f70935eb7 Fix non-IPC build bustage from bug 561085. a=bustage-fix 2010-10-19 17:32:37 +01:00
Josh Matthews
0a5a3e1618 Bug 561085 - Bustage fix. a=bustage 2010-10-19 11:44:31 -04:00
Josh Matthews
12dac2fc53 Bug 561085 - Add IDPL queueing to wygiwyg protocol. r=dwitte a=blocking-fennec 2010-10-17 09:41:50 -04:00
Michal Novotny
cb302b8fbb 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
10b39d0f10 Bug 536289 - Generalize IPDL event queue some more. r=jduell a=blocking-fennec 2010-10-16 01:26:14 -04:00
Patrick McManus
dedc7a9acb 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
Dão Gottwald
81c4a08e6f 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
71de5a40f0 Bug 517584 - Fix orange in test for bug 480619. r=dwitte a=blocking-fennec 2010-10-14 17:28:45 -07:00
Jon Hemming
341a29941e Bug 591881 - Suspend pruning of idle connections when possible. r=dwitte a=blocking-fennec 2010-10-14 17:28:43 -07:00
Brandon Sterne
4c969b1489 Bug 561051 - make CSP frame-ancestors and X-Frame-Options work with viewSourceChannels, a=jst 2010-10-14 15:25:00 -07:00
Honza Bambas
db55e1232a Bug 586766 - e10s http: fix redirect/cancel race. r=jduell, a=blocking-fennec-b2 2010-10-08 22:07:58 -07:00
Honza Bambas
7a0198cca1 Bug 586738 - e10s http: check HttpChannelChild::Redirect1Begin cancel logic. r=jduell, a=blocking-fennec-b2 2010-10-08 22:07:49 -07:00
Josh Matthews
270dfbec2e 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
d3709482f4 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
4afc3bd77a 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
Doug Turner
f69f8ddc03 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
132264b660 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
f65a41ce79 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
affea2f3a2 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
0b051864d0 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
0cc88bd4dc 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
10ebaa7a73 Merging backout. 2010-09-30 17:05:19 -07:00
Mounir Lamouri
a94d43b800 Bug 600813 - Removing PUT and DELETE form methods. a=blocking-b7 2010-09-30 16:55:11 -07:00
Byron Milligan
db9a05df11 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
Brian Crowder
69f7fcf513 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
5591616b20 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
7b1f995f7c 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
Sid Stamm
4a4cdce2c3 Bug 592197 - SSL pages don't work when using a NTLM proxy. r=bzbarsky, a=blocker 2010-09-09 01:38:10 -04:00
Jason Duell
08e26c2ecf Bug 590121 - Null nsHttpResponseHead crashes in redirect. r=dwitte@gmail.com, a=blocking2.0final+ 2010-09-08 17:53:55 -07:00
Byron Milligan
b169f8b65d Fetch the Content-Length from the hash bag instead of directly from the channel. r=dwitte, a=betaN+ 2010-09-07 15:39:28 -07:00
Byron Milligan
eb546c096c Bug 588507: Skip caching if Content-Length is greater than eviction size. r=michal, a=betaN+ 2010-09-07 15:39:28 -07:00
Dan Witte
eb0eeec501 Merge e10s -> m-c. 2010-09-07 15:34:44 -07:00
Jason Duell
596e6fe20e Bug 591552 - SetupReplacementChannel has bogus cast to nsHttpChannel. r=bz 2010-09-01 16:42:30 -07:00
Dan Witte
f9582851af Back out Bug 536324 part 2. 2010-08-30 13:20:39 -07:00
Dan Witte
cf69667c0d Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte
3784e67919 Back out Bug 589292. 2010-08-30 13:20:38 -07:00
Dan Witte
55af9deabd 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
f8ab7bd3a1 Bug 591387 - Default theme shows as "incompatible" (version number wrapped with quotes). r=khuey a=blocking 2010-08-28 15:32:07 +02:00
Ehren Metcalfe
ca521c422c Bug 591046 - Unparenthesized macro breaks static checking builds. r=dwitte, a=bustage 2010-08-27 08:12:02 -07:00
Dan Witte
82e1944e0f 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
5306a8f553 Merge e10s -> m-c. a=patches 2010-08-27 08:04:00 -07:00
Dan Witte
0f002d9441 Bug 589292 - e10s necko: add contentDisposition prop to nsIChannel. r=jduell, sr=biesi, a=beta5+ 2010-08-25 17:51:21 -07:00
Dan Witte
d4fa839364 Merge. 2010-08-23 17:30:33 -07:00
Dan Witte
b99743ae55 Bug 581008 - Reorder Firefox-compat, App and Vendor tokens. r=dao 2010-08-27 09:03:10 +02:00
Dão Gottwald
d9866fd9ab 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
7e7e3f9345 Bug 590826 - SeaMonkey test failure in test_stricttransportsecurity.html due to use of uninitialized value. r=geekboy a=Bustage-fix
--HG--
extra : rebase_source : e73361cb21cf7c15a80fe0ab475225d86e880930
2010-08-26 00:25:42 -04:00
Dan Witte
455bb0070a Merge. 2010-08-21 13:51:54 -07:00
Dan Witte
9d758b2bce Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Dan Witte
454e26f2b0 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 2: contentLength implementors. r=jduell, a=beta5+ 2010-08-21 00:31:11 -07:00
Michal Novotny
a6a3b44e9d Bug 513008 - Eliminate synchronous reads from cache, r=jduell,sdwilsh, sr=shaver, a=betaN+ 2010-08-21 11:16:40 -07:00
Mounir Lamouri
45466cd1fa Backed out changeset d0b284052d29 for Talos regression investigation on tp4. 2010-08-22 20:16:05 +02:00
Matt Brubeck
0ca114b9fe Bug 566151 - Add "Maemo" to UA string. r=vlad,dwitte sr=jst a=blocking-fennec 2010-08-25 16:31:00 -07:00
Kyle Huey
32a548bce5 Bug 507749: Implement moz-device: protocol handler. Based on an earlier patch by Brad Lassey. r=jdm a=blocking-fennec
--HG--
extra : rebase_source : 9e9474bf72d880c8a7364c795b451f28a10913c3
2010-08-25 11:52:10 -04:00
Honza Bambas
f87313f708 Backout nsHttpChannel part of bug 513008, r=michal a=bsmedberg 2010-09-02 19:11:11 +02:00
Dão Gottwald
a501a996a8 Bug 591125 - Sanitize the app name for the UA string. r=dwitte a=jst
--HG--
extra : rebase_source : caccb90b5338953d35f4a98c90bf2d7ed12fd06c
2010-09-02 13:37:41 +02:00
Dan Witte
240b879489 Merge e10s -> m-c. 2010-08-30 15:35:24 -07:00
Dão Gottwald
66393dc80f 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
Sid Stamm
a781965b6d 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
Dan Witte
bc83deed21 Merge e10s -> m-c. a=wecanhazbeta 2010-08-23 21:18:09 -07:00
Michal Novotny
2002430dfa Bug 513008 - Eliminate synchronous reads from cache. r=jduell,sdwilsh sr=shaver a2.0=blocking 2010-08-24 03:06:23 +02:00
Byron Milligan
45fd242f77 Bug 55307 - Prevent downloads from being stored in the cache. r=jduell a2.0=jst 2010-09-10 07:22:24 +02:00
Bjarne
d3ed7d0e52 Bug 586264 - Improve/add logging to async redirect code, r=honzab, a2.0=bsmedberg 2010-08-18 19:22:48 +02:00
Jason Duell
1a28c6a685 e10s http: Document channels' cache descriptor causes hang on reloads r=honza
--HG--
extra : rebase_source : 997176054b8665819c4fd9d670e7705087592daa
2010-08-17 15:17:00 -07:00
Honza Bambas
c32ff56c91 Bug 536301 - e10s HTTPS: securityInfo. r=jduell, sr=kaie 2010-08-13 01:06:40 -07:00
Dan Witte
15cf273453 Fix bustage. 2010-08-12 02:12:08 -07:00
Dan Witte
6d5a1d5e63 Bug 536317 - e10s HTTP: implement Cancel. r=jduell, a=blocker 2010-08-12 02:05:16 -07:00
Josh Matthews
00afa443f6 Bug 536321 - e10s HTTP: suspend/resume. r=dwitte 2010-08-10 23:07:09 -04:00
Jason Duell
db31d25583 Minor formatting fixes to redirects patch (bug 536294) 2010-08-11 00:09:50 -07:00
Honza Bambas
df0ee9e34a Bug 536294 - e10s HTTP: redirects. r=jduell
--HG--
rename : netwerk/protocol/http/HttpChannelParent.cpp => netwerk/protocol/http/HttpChannelParentListener.cpp
rename : netwerk/protocol/http/HttpChannelParent.h => netwerk/protocol/http/HttpChannelParentListener.h
2010-08-10 20:11:57 -07:00
Jason Duell
28fceb2568 Bug 584863: make nsHttpChannel::AsyncOpen fail immediately if channel already cancelled. r=biesi 2010-08-10 17:50:30 -07:00
Josh Matthews
7ec8ac2aba Bug 584604 - e10s HTTP: Clean up IPDL buffering. r=jduell,cjones
jduell: Made a bunch of structural/naming changes.
Merged in test patches.
2010-08-06 00:59:37 -04:00
Michael Wu
699c96697a Bug 585869 - Check for file scheme in nsResURL::EnsureFile, r=bsmedberg a=blocking2.0 2010-08-10 15:03:26 -07:00
Chris Jones
b683864b66 Bug 582477 - e10s: HttpChannelChild triggers abort on bing.com. r=jduell,jdm 2010-08-05 08:43:02 -07:00
Dão Gottwald
fad97a8202 Bug 581783 - Remove "Windows;" from the UA string. r=bz 2010-08-05 09:09:42 +02:00
Bjarne
ed732b9f7f Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Josh Matthews
a1a82bb57e Bug 559200 - Follow up to remove unsafe locking r=dougt
--HG--
extra : rebase_source : 97dc0338081b4347a5ff0ef91861d4337967a224
2010-08-04 16:13:12 -07:00
Josh Matthews
caccfbd455 Bug 559200 - e10s HTTP: Buffer incoming IPDL necko messages. r=dougt
--HG--
extra : rebase_source : cfee85b987fb60fac9a3536774f63139000e797f
2010-04-21 12:46:50 +09:30
Josh Matthews
f0ccb9c187 Bug 580450 - Clean up IPC::URI. r=dwitte 2010-07-26 15:59:34 -04:00
Philipp von Weitershausen
7ec32fd94a Bug 580508 - nsURLHelper.cpp net_ParseFileURL is asserting on resource:// URLs that are aliased to other resource:// URLs [r=jduell] 2010-08-02 16:37:55 -07:00
Justin Dolske
d819c762c2 backout bug 580508 / a2246039f70d due to test failure 2010-08-02 19:03:45 -07:00
Philipp von Weitershausen
fd07fb90db Bug 580508 - nsURLHelper.cpp net_ParseFileURL is asserting on resource:// URLs that are aliased to other resource:// URLs [r=jduell] 2010-08-02 16:37:55 -07:00
Byron Milligan
583ff3811c Bug 567360: Don't call UpdateExpirationTime if mRequestTime isn't set r=bzbarsky
--HG--
extra : rebase_source : e41a600f48ea9fb602f99b31d6110b42c4ee2513
2010-08-02 13:24:18 -07:00
Josh Matthews
fd90e91050 Backint out bug 580450, changeset 4d2c9a0c5e1c 2010-08-02 11:29:10 -04:00
Josh Matthews
cfb13d7804 Bug 580450 - Clean up IPC::URI. r=dwitte
--HG--
extra : rebase_source : 25fbd59338609fd9792071b9d414ea983608aab2
2010-07-26 15:59:34 -04:00
Kyle Huey
bc182a715e Backed out changeset 1e8961782824 2010-07-29 20:16:37 -07:00
Michal Novotny
84bba7528a 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
bba0eaad1a Bug 513086 - Make redirect API async: regression 1 fix 1, r=bz 2010-07-29 18:41:09 +02:00
Honza Bambas
a5855be7e1 Bug 513086 - Make redirect API async, r=bz, sr=biesi
--HG--
rename : netwerk/test/unit/test_redirect_caching.js => netwerk/test/unit/test_redirect-caching_passing.js
2010-07-28 20:33:06 +02:00
Josh Matthews
b181744bdc Bug 572980 - e10s: HttpChannelChild incorrectly refcounted. r=cjones, jduell.
This version adds checks to make sure child doesn't try to send any IPDL msgs to
parent after IPDL has been shut down.

--HG--
extra : rebase_source : 47ac7a7f8b5bc0ce3eee10cdc170ae27e9fc94aa
2010-06-27 12:44:15 -04:00
Dão Gottwald
6582fe67e7 Bug 580341 - Remove unused deviceType from nsIHttpProtocolHandler. r=biesi 2010-07-20 22:05:34 +02:00
Dão Gottwald
03a6a23a43 Bug 572656 - Remove the UI language from the UA string and navigator.appVersion. r=bz 2010-07-19 22:18:11 +02:00
Chris Jones
613ff7284a Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg
--HG--
rename : dom/ipc/ContentProcessChild.cpp => dom/ipc/ContentChild.cpp
rename : dom/ipc/ContentProcessChild.h => dom/ipc/ContentChild.h
rename : dom/ipc/ContentProcessParent.cpp => dom/ipc/ContentParent.cpp
rename : dom/ipc/ContentProcessParent.h => dom/ipc/ContentParent.h
rename : dom/ipc/ContentProcessProcess.cpp => dom/ipc/ContentProcess.cpp
rename : dom/ipc/ContentProcessProcess.h => dom/ipc/ContentProcess.h
rename : dom/ipc/PIFrameEmbedding.ipdl => dom/ipc/PBrowser.ipdl
rename : dom/ipc/PContentProcess.ipdl => dom/ipc/PContent.ipdl
2010-07-19 13:33:33 -05:00
Michal Novotny
95bf720259 Bug 575686 - Don't classify URL when HTTP channel fails to open. r=jduell 2010-07-17 18:21:58 +02:00
Daniel Holbert
ad8ef4a55b Bug 576563: Remove "LOG()" macro in nsResProtocolHandler to fix build warning. r=jduell 2010-07-05 13:49:02 -07:00
Saint Wesonga
4bd9280674 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
b2124655df Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8952503f91 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Mitchell Field
d0f35f6883 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Steffen Wilberg
21ba20caa3 Bug 538813. Make about:cache and about:cache-entry pretty. r=bzbarsky 2010-07-02 16:56:09 -04:00
Saint Wesonga
aaf59d3e92 Bug 572668. Don't send the useless crypto token in the UA string. r=bzbarsky 2010-07-02 16:56:09 -04:00
Benjamin Smedberg
a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
0df0345c66 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Jason Duell
386cfabff6 Backed out 9cfe0ace0e95 (SecurityInfo). Segfaulting. 2010-06-30 17:42:30 -07:00
Honza Bambas
8faab2606c e10s HTTPS: securityInfo. sr=biesi. 2010-06-30 09:17:51 -07:00
Jason Duell
6a8b56652b Temporarily allow SetResponseHeader to be called after AsyncOpen. r=dwitte. 2010-06-29 14:36:09 -07:00
Jason Duell
c1d5efa1f1 Bug 575741: Add HTTP auth Disconnect: lost in m-c->e10s merge. r=dwitte 2010-06-29 12:10:28 -07:00
Jason Duell
c0c9f2cf3b Bug 575514: Make DROP_DEAD not die for releases, and allow override by NECKO_ERRORS_ARE_FATAL env var. r=jdm 2010-06-21 00:11:50 -07:00
Honza Bambas
db5a9c6897 Bug 537782 - e10s HTTP: authentication. r=jduell 2010-06-24 15:20:42 -07:00
Jason Duell
69fa05ae34 # User Michal Novotny <michal.novotny@gmail.com>
# Date 1277056918 -7200
Bug 537164 - e10s HTTP: caching.  r=jduell, sr=biesi
2010-06-23 23:55:19 -07:00
Michael Wu
225a4cdd63 Restore include that was lost during a merge 2010-06-23 12:59:59 -07:00
Honza Bambas
16be797df3 Bug 569044 - "e10s HTTP: handle requests with no responseHead" [r=jduell] 2010-06-18 03:32:00 -07:00
Jason Duell
386a098a89 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Honza Bambas
35132a6213 Bug 569227 - Join HttpChannelChild with its TabChild, r=smaug 2010-06-18 12:49:28 +02:00
Benjamin Stover
dfb55c48d4 Bug 570867 - e10s http: add cookies to request in child, not parent [r=dwitte] 2010-06-15 16:07:10 -07:00
Jason Duell
b9be7ef15f Add bug numbers for all TODO items that lack them in necko e10s code. r=cjones
--HG--
extra : rebase_source : c29981d18cd8fc43a11a48cbd1b7e9a2f24c9b24
2010-06-09 20:19:28 -07:00
Doug Turner
fb5e11f72f HttpBaseChannel.cpp was missing from the http fixup in rev 03c8158afebe
--HG--
extra : rebase_source : 2ae8a865de36b2d67abe0d44a1341b0374edddc2
2010-06-07 15:54:54 -07:00