Commit Graph

717 Commits

Author SHA1 Message Date
Patrick McManus
c7c89d6a3e Bug 666997 - Firefox Crash @ mozilla::net::nsPreloadedStream::AsyncWait() r=biesi 2011-06-25 10:49:42 -04:00
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Michal Novotny
6d1f6742fe Bug 504014 - Enforce RFC 3986 syntax for IPv6 literals 2011-06-23 17:04:23 +02:00
Ed Morley
1264376be3 Bug 665610 - Fix unused debug variable warnings in netwerk/; r=biesi 2011-06-20 15:49:13 -07:00
Mike Hommey
95fbb011b5 Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg 2011-06-15 07:32:03 +02:00
Patrick McManus
096daafcf1 bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab 2011-06-15 10:24:56 -04:00
Patrick McManus
b3c5916d33 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Matt Brubeck
5289790b51 Back out caa97320d506 (bug 658580) temporarily to get m-i in a known good state. a=backout 2011-06-15 09:40:29 -07:00
Matt Brubeck
968d7fd4f5 Back out 58c903b0db40 (bug 658580) temporarily to get m-i in a known good state. 2011-06-15 09:39:42 -07:00
Matt Brubeck
24b42b347c Merge backout of bug 632404, bug 552864, bug 658995 2011-06-15 09:01:28 -07:00
Matt Brubeck
28a99ad4d4 Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression. 2011-06-15 09:00:28 -07:00
Patrick McManus
8cd302aa33 bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab 2011-06-15 10:24:56 -04:00
Patrick McManus
8e1391e0b4 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Mike Hommey
899e31b0e1 Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg 2011-06-15 07:32:03 +02:00
Daniel Holbert
f9082b947a Bug 662242: Swap out the old nsIURL IID for the new one, in nsBinaryInputStream::ReadObject. r=bz 2011-06-09 12:10:42 -07:00
Randell Jesup
3447b1dc0e Bug 173561: move magic mask constant for nsIRequest into IDL file. r=biesi 2011-06-09 15:03:41 -04:00
Honza Bambas
cc9f417012 Backout of changeset 701b76c4e716 2011-06-09 16:07:07 +02:00
Honza Bambas
fb3dc85ca9 Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell 2011-06-09 14:04:16 +02:00
Kyle Huey
ff9fd1748b Bug 661529: Add NS_ReadInputStreamToBuffer to complement NS_ReadInputStreamToString. r=biesi
--HG--
extra : rebase_source : 81b8876a34a2ec8c6fd0c2092b697fb8e2472a4a
2011-06-08 11:11:41 -07:00
Kyle Huey
4c6fa934a1 Merge m-c to cedar again to bring over the fix for the android talos perma-orange. 2011-06-07 15:42:30 -07:00
Kyle Huey
d2da8f5e6c Merge m-c to cedar since I already pushed it in, and push what I actually wanted to push 2011-06-07 13:23:03 -07:00
Randell Jesup
647ee8dc28 Bug 125608: Reduce size of nsStandardURLs by average of 27+ bytes. r=bz 2011-06-07 12:17:40 -04:00
Jeff Walden
659de83b44 Bug 662001 - Use RangedPtr<T> in one location outside js/src/ to verify that mfbt/RangedPtr.h is usable by non-JS code. r=bz 2011-06-06 11:02:35 -07:00
Daniel Holbert
70f5d4d89e Bug 661967: Remove never-read local variable from nsIOService::GetProtocolHandler. r=bz 2011-06-07 10:50:14 -07:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Patrick McManus
14fd4e9ce5 bug 597706 - response header smuggling r=honzab
reject responses with multiple non identical or invalid
content-length headers
2011-05-31 19:51:51 -04:00
Honza Bambas
93540b483c Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, comment correction 2011-05-29 16:14:21 +02:00
Honza Bambas
923a9677e4 Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, r=bz 2011-05-29 15:55:38 +02:00
Mounir Lamouri
927ee0c01a Merging cedar with mozilla-central. 2011-05-27 09:57:51 +02:00
Mounir Lamouri
cd6b283df4 Backed out bug 125608 because of orange. 2011-05-27 09:53:26 +02:00
Mounir Lamouri
21d4fb1a0d Backed out bug 659871, changeset 0cf4fa02c0f2, because of orange. 2011-05-27 09:52:42 +02:00
Randell Jesup
8e3b689de5 Bug 659871: Don't allow nsStandardURL::SetPort to set an invalid port. r=bz 2011-05-27 02:46:41 -04:00
Randell Jesup
b44bd495b7 Bug 125608: NewURI was allocating more memory than needed. r=bz 2011-05-27 02:46:33 -04:00
Randell Jesup
b23a547d6a Bug 507569: Fix possible crash in nsStandardURL::SegmentIs() (Coverity) r=bz 2011-05-27 01:44:15 -04:00
Daniel Holbert
54188974e6 Bug 659698: Fix nsJSURL to handle the recent .ref additions to nsSimpleURI. r=bz 2011-05-26 01:20:06 -07:00
Emanuele Costa
1794453516 Make nsJSURI inherit from nsSimpleURI. Bug 647570, r=bzbarsky 2011-05-25 16:23:07 -04:00
Daniel Holbert
48efea9ab8 Bug 658949 patch 1: Teach nsDataHandler::ParseURI about #ref, and transfer 'isRefValid' flag in nsSimpleURI::Clone. r=bz 2011-05-24 17:40:10 +02:00
Mounir Lamouri
e97a7a4ee5 Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert
9c8854da80 Bug 658949 patch 1: Teach nsDataHandler::ParseURI about #ref, and transfer 'isRefValid' flag in nsSimpleURI::Clone. r=bz 2011-05-24 03:37:54 -07:00
Daniel Holbert
d49f86beba Bug 659177: Update signature of nsAboutProtocolHandler::StartClone so that it continues overriding inherited method. r=bz a=sheriff
--HG--
extra : rebase_source : 50a7c76c3ce1d6988161047ee534b50f84bd26eb
2011-05-24 09:06:18 +02:00
Christian Biesinger
1c8d1318a9 Bug 658822 - Fix implementation of DNS timing in nsITimedChannel; r=jduell 2011-05-22 21:29:42 -07:00
Brad Lassey
66de27b901 bug 617115 - support building with andorid NDKr5 r=ted 2011-04-01 16:47:37 -07:00
Daniel Holbert
57db49e40e Bug 308590 patch 4: Add impl for .ref on nsSimpleURI. r=bz 2011-05-21 18:12:45 -07:00
Daniel Holbert
c0b880ca57 Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
2ebeeb1a30 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
9d71111551 Bug 308590 patch 2: Move GetRef/SetRef from nsIURL to nsIURI. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
76a46af131 Bug 654797: Remove no-longer-relevant comment about ("classic") MacOS in documentation for nsIURI::Clone. r=bz 2011-05-21 18:12:21 -07:00
Christian Biesinger
c93ab7d02c Bug 576006 - Implement timing interface for channels
r=jduell sr=bz
2011-05-21 03:03:36 -07:00
Patrick McManus
ec459a736d bugzilla 640213 Implement RFC 2616 "Upgrade" (Section 14.42) r=biesi sr=bz 2011-05-19 19:43:37 -04:00
Patrick McManus
dc8193162b Bug 654201 - avoid nsHttpConnection::IsAlive() running event loop for unused SSL connections r=honzab sr=biesi 2011-05-19 15:06:44 -04:00
Zack Weinberg
9b2aa00b71 Bug 541496 part 4: rewrite ns(I)UnicharStreamLoader to produce a string rather than a stream; use string-taking parser API for async style loads. r=bzbarsky 2011-05-18 21:22:59 -04:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Phil Ringnalda
732ca210bc Back out 40d44ce2377e (bug 640213) on suspicion of causing Windows crashes and timeouts in media tests 2011-05-14 20:13:57 -07:00
Patrick McManus
9bffb83e96 Bug 640213 - Implement HTTP 2616 Upgrade. r=biesi, sr=bz. 2011-05-14 18:55:54 +01:00
Patrick McManus
9cf999e2db bug 640003 - websockets, nsIIOService2::NewChannelFromURIWithProxyFlags() r=biesi sr=bz 2011-05-13 13:53:27 -04:00
Mounir Lamouri
69a6bfc5d9 Merging cedar with mozilla-central. 2011-05-08 18:23:36 +02:00
Ed Morley
d460b89ece Bug 654552 - Remove WinCE code from netwerk/* ; r=cbiesinger 2011-05-07 10:03:16 +02:00
Zack Weinberg
66c29ada9f Bug 541496 prelim 1: remove nsIUnicharStreamListener (no in-tree implementations). r=hsivonen 2011-05-06 08:45:33 -07:00
Oleg Romashin
82f924d80a Bug 646412 - After Connection is established on MeeGo. Browser shows Error Page. r=wolfiR 2011-05-07 11:27:13 +03:00
Oleg Romashin
0f074cf496 Bug 646412 - fix autodial pref initialization r=cbiesinger 2011-05-07 11:26:58 +03:00
Ehsan Akhgari
be7c8f4755 Backed out changeset 3c42531f4ec8 (bug 627672) because of possibility of being related to the Maemo oranges 2011-04-15 16:41:36 -04:00
Martin Stransky
8368253253 Bug 627672 - XPCOM component (libdbusservice.so) is not registered although it should be; r=cbiesinger 2011-04-14 13:53:25 -04:00
Patrick McManus
c1ace42ab7 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
e8ae894594 Backout changeset e6d044d30abf (bug 607741) for not compiling. 2011-04-11 23:17:43 -07:00
Patrick McManus
4f4340e611 bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell 2011-04-11 22:37:59 -07:00
Ehsan Akhgari
39d4c8a920 Backout changeset 649e429d342f (bug 607741) because of mobile tree oranges 2011-04-11 13:28:41 -04:00
Ehsan Akhgari
a6cda7cb5c Merge cedar into mozilla-central 2011-04-08 22:28:05 -07:00
Jeremias Bosch
8ec642a723 Bug 646396 - Update QtNetworkManager to new API useage; r=romaxa 2011-04-08 01:32:00 -07:00
Patrick McManus
7eadaedaca Bug 542401 - Look into whether Firefox should set TCP_NODELAY for non-SSL HTTP socket r=jduell
indeed without nagle disabled (which is what nodelay does) a pipeline
can be interrupted for a full rtt waiting for an ack, which defeats
the purpose of pipelining. Other parts of FF can just coalesce the
writes internally, but sometimes that is not possible for pipelines
which may not have an opportunity for a pipelined request when the
"runt" packet goes out, but discovers such an opportunity a long time
before the rtt is expired. In other places (such as long posts) we do
a fine job of coalescing already, so this should not result in any
extra packets on the wire, just improved latency.

--HG--
extra : rebase_source : e333e36fe31b63d17c287ac6e876f27fdb69ce5b
2011-04-08 14:36:56 -04:00
Patrick McManus
d31bbb261d 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
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Ehsan Akhgari
73dd5db57d 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
326315dab1 Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Patrick McManus
6d7ea24a10 bug 623948 - Accelerate TCP connection retries in HTTP r=honzab 2011-03-31 15:38:30 -04:00
Ehsan Akhgari
49fceed112 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
db5f4dbf03 Bustage fix coming from the bad merge; a=I'm-fired 2011-04-01 11:54:44 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 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
a75fb12531 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)
cc8b4c9c6c 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
Ehsan Akhgari
41f6aee99f Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Shawn Wilsher
e0f2e33354 Bug 632227 - NetUtil should have a helper method to read an input stream asynchronously
r=bz
sr=biesi
2011-03-31 10:24:42 -07:00
Kyle Huey
61ff9410c4 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
1f81122982 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Christopher Davis
b92fde0d4e Bug 280661 - SOCKS proxy server connection timeout hard-coded; r=bzbarsky 2011-02-24 15:10:08 +02:00
Ehsan Akhgari
de907a39be Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Alon Zakai
fa24806ac8 Bug 645535 - Remove WARNING from nsFileStreams.cpp. r=bz 2011-03-30 13:40:47 -04:00
Justin Lebar
7e2c5ae50d 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
f4575bfe5e 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
4e1b7d656b Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Patrick McManus
a26f726650 bug 623948 - Accelerate TCP connection retries in HTTP r=honzab 2011-03-31 15:38:30 -04:00
L. David Baron
b2e59587e8 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
Joe Drew
0f83ac4e73 Back out bug 542401 (3fe7fcd60880) on suspicion of causing Tp regressions. 2011-03-24 20:30:06 -04:00
Ehsan Akhgari
f83c604e6c Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Karl Tomlinson
ec5ed5c366 backout bug 280661 due to test_socks.js test failure 2011-03-24 21:37:53 +13:00
Patrick McManus
231e2f39d1 Bug 542401 - Look into whether Firefox should set TCP_NODELAY for non-SSL HTTP socket r=jduell
indeed without nagle disabled (which is what nodelay does) a pipeline
can be interrupted for a full rtt waiting for an ack, which defeats
the purpose of pipelining. Other parts of FF can just coalesce the
writes internally, but sometimes that is not possible for pipelines
which may not have an opportunity for a pipelined request when the
"runt" packet goes out, but discovers such an opportunity a long time
before the rtt is expired. In other places (such as long posts) we do
a fine job of coalescing already, so this should not result in any
extra packets on the wire, just improved latency.

--HG--
extra : rebase_source : f83f5b080a3da5875abaee001e8af18503fcff38
2011-03-23 11:03:09 -04:00
Christopher Davis
9f892a74c3 Bug 280661 - SOCKS proxy server connection timeout hard-coded; r=bzbarsky 2011-02-24 15:10:08 +02:00
jhorak@redhat.com
1eed9ae919 Bug 494163 - (gio / gvfs) Port gnomevfs extension to GIO/GVFS; r=karlt sr=roc 2011-03-23 23:38:03 -04:00
timeless@mozdev.org
64666d52c4 Bug 620390 useless null check of host = flat.get() in nsStandardURL::SetHost
r=biesi
2011-03-23 23:29:47 -04:00
Alon Zakai
12fc79016e Bug 634666 - DEFER_OPEN option for file streams. r=bz,sdwilsh sr=bz a=blocking-fennec 2011-03-04 16:36:56 -08:00
Brian Smith
6e3249a44c Bug 637361: Backout bug 573043 2011-03-01 19:11:22 -08:00
Honza Bambas
4b801dad80 Fix bug 573043. r=jmathies@mozilla.com, a=blocker.
--HG--
rename : security/manager/ssl/public/nsISSLStatus.idl => netwerk/base/public/nsISSLStatus.idl
rename : security/manager/boot/public/nsISSLStatusProvider.idl => netwerk/base/public/nsISSLStatusProvider.idl
rename : security/manager/ssl/public/nsIX509Cert.idl => netwerk/base/public/nsIX509Cert.idl
2011-02-08 16:12:29 -08:00
Boris Zbarsky
dfc5ea8e25 Bug 629291. Don't use native leaf names in safe output streams; they lose information. r=bsmedberg, a=jst 2011-02-03 09:36:46 -08:00
Ehsan Akhgari
1e3a9a31ab Bug 625991 - Let the server socket code deal with the cases where we don't have a live socket transport service due to being offline; r=bzbarsky a=blocking-final+ 2011-01-18 16:39:21 -05:00
Frank Yan
5b1008b96c Bug 627332 - add-ons compatibility check always presents "Minefield is working offline" dialog when network link state detection is disabled. r=roc a=dolske 2011-01-27 16:07:30 -08:00
Dave Townsend
e51597dabb Backout of changeset 9acd51502a65 from bug 579846. a=bustage 2011-01-24 14:59:51 -08:00
Dave Townsend
0adf94b662 Backout of changeset 38d1b321c98b from bug 579846. a=bustage 2011-01-24 14:58:20 -08:00
Sid Stamm
c9a91d7bb6 bug 557598 - Support strict-transport-security (STS) in private browsing mode; r=ehsan,dveditz a=blocking-betaN+ 2010-10-06 10:07:39 -07:00
Honza Bambas
1cc1cc4167 Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended [Fennec part], r=jduell, a=betaN+ 2011-01-23 23:49:30 +01:00
Honza Bambas
63032f8fb3 Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended, r=bzbarsky+hsivonen, a=betaN+ 2011-01-23 23:49:30 +01:00
Daniel Holbert
eb0c1dcaf4 Bug 626741 - Downgrade assertion to warning, for failed modifications to immutable urls. r=bz a=NPOTB (debug-only) 2011-01-20 19:49:09 -08:00
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
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
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -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
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
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
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
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
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
22842d152f Bug 586908 - Infinite requests when proxy from system settings is redirected r=biesi, a=blocker 2010-10-25 15:47:40 -07: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gavin Sharp
e0a0946a47 Backed out changeset 2a216165e361 (bug 589613), a=shutuphook 2010-09-11 13:46:39 -04:00
Kyle Huey
6deff2f98d Backed out changeset 8f65173dacb0 2010-09-11 11:08:47 -04:00
Honza Bambas
00c9bfeb72 Bug 537381 - -1 as port number cause default port to be used, should fail to load, r=bz, a2.0=final+ 2010-09-11 16:11:38 +02:00
Ian Neal
9d31d7ad9f Bug 589613 - [SeaMonkey 2.1, mochitest-browser-chrome] browser_Services.js | Services.search exists
r/a=gavin
2010-09-10 13:29:15 +01:00
Wan-Teh Chang
10e2a2f4b6 Bug 580679: remove preference security.ssl.enable_compression because
the change to build NSS with NSS_ENABLE_ZLIB=1 was reverted.  Will try
again after mozilla 2.0.  review+ and approval2.0+ by bsmedberg.
2010-09-02 13:40:19 -07:00
jeremias bosch
ec1f70da46 Bug 586836 - Support Meego Network Managment. r=doug.turner a=blocking-fennec
--HG--
extra : rebase_source : 1f8de52621ce8c6dc680e81a3b82bc8f5e3df57e
2010-08-30 23:23:35 -07:00
Dan Witte
7d4d461f7e Back out Bug 536324 part 1. a=bsmedberg 2010-08-30 13:20:39 -07:00
Dan Witte
ccd3c28130 Back out Bug 536324 part 2. 2010-08-30 13:20:39 -07:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte
86583b1783 Back out Bug 589292. 2010-08-30 13:20:38 -07:00
Gavin Sharp
b2536d0df5 Bug 587691: need a way to access the original default engine (the normal "defaultEngine" can change if the original is hidden by the user), r=Ryan, a=blocker 2010-08-20 17:40:16 -04:00
Shawn Wilsher
b3b7f224fd Bug 590654 - Let JavaScript read embedded nulls from input streams
Adds a new method to NetUtil (readInputStreamToString) that will read a string
with or without embedded NULLs from an input stream.  Also adds the needed API
on nsIScriptableInputStream to make this happen.
r=bz
sr=biesi
a=blocking2.0
2010-08-27 12:42:51 -07:00
Dan Witte
8de0079a42 Merge e10s -> m-c. a=patches 2010-08-27 08:04:00 -07:00
Dan Witte
8937bd5738 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
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Dan Witte
4439f97632 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 2: contentLength implementors. r=jduell, a=beta5+ 2010-08-21 00:31:11 -07:00
Dan Witte
b5ef3261e3 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 1: make nsIChannel.contentLength 64-bit. r=jduell, sr=jst, a=beta5+ 2010-08-21 00:30:29 -07:00
Sid Stamm
c82bc1947a 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
Jeff Walden
ecc6ed2a5d Bug 646509 - Proxy autoconfig shouldn't try to call regular expressions but rather should use .exec(). rs=js-pit
--HG--
extra : rebase_source : e6a2c078b3ad4c9a263d06acaa10fc54274d3361
2011-04-08 11:45:11 -07:00
Jeremias Bosch
c9daa0c25d Bug 646396 - Update QtNetworkManager to new API useage. r=romaxa 2011-04-08 11:51:32 -07:00
Bjarne
b3422d050f Bug 586264 - Improve/add logging to async redirect code, r=honzab, a2.0=bsmedberg 2010-08-18 19:22:48 +02:00
Gavin Sharp
c0ae171f24 Bug 586821 - Add affiliate URL queries to location bar search r,a=jst
--HG--
rename : toolkit/components/search/nsIBrowserSearchService.idl => netwerk/base/public/nsIBrowserSearchService.idl
extra : rebase_source : 77a06966db94e05fafdcb152bb6d5f40bef350ee
2010-08-14 18:15:21 +02:00
Wan-Teh Chang
17b96c0c9b Bug 580679: Build NSS with the TLS zlib compression code.
Add the security.ssl.enable_compression preference to
enable TLS compression, disabled by default.
r=khuey,kaie,sayrer,ted.  approval2.0+ by bsmedberg.
2010-08-12 14:12:05 -07:00
Honza Bambas
9eb088087e 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
Jacek Caban
34408ada14 Bug 584678 - nsAsyncRedirectVerifyHelper.cpp compilation failure r=jsc a=jst
--HG--
extra : rebase_source : d11fdde3b557b446bdbb742f920258cb2d0dce8b
2010-08-06 12:49:22 +02:00
Bjarne
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Wan-Teh Chang
3888ee5a98 Bug 583908 - Enable TLS false start in Mozilla. r/a=sayrer. (CLOSED TREE) 2010-08-03 23:36:53 -07:00
Wan-Teh Chang
bced390ee5 bustage fix for test_bug329869.html failure (undo pref flip from bug 583908) 2010-08-02 23:41:11 -07:00
Gavin Sharp
5275de7d81 bustage fix for test_NetUtil 2010-08-03 01:28:01 -04:00
Wan-Teh Chang
fb34c59071 Bug 583908: Enable TLS false start by default. Add the preference
security.ssl.enable_false_start to disable it.  r=sayrer.
approval2.0+ by sayrer.
2010-08-02 22:10:52 -07:00
Gavin Sharp
e3be2e9894 Bug 581175: Make NetUtil's asyncFetch suppress SSL error messages by default, and pass relevant nsIRequest object to its callback, r+a=sdwilsh
--HG--
rename : testing/mochitest/tests/browser/Makefile.in => netwerk/test/browser/Makefile.in
2010-07-23 17:59:07 -04:00
Kyle Huey
2177fa03b2 --disable-libxul bustage fix 2010-07-28 22:25:08 -07:00
Oleg Romashin
6146e1f3f0 Bug 561716 - Disable link monitoring in the child process to avoid g_type_init assertions. r=dougt 2010-07-28 18:05:19 -07:00
Honza Bambas
6d23857edd 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
Corentin Chary
bfb299fdd9 Bug 577073 - Make nsPACMan respect network.dns.disablePrefetch, don't call NS_RELEASE_THIS() before Complete(). r=bz 2010-07-18 10:18:55 +02:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00