Commit Graph

10998 Commits

Author SHA1 Message Date
Patrick McManus
03f63d6b37 bug 1069724 - all conn reuse after conn pool flush on shift-reload r=hurley 2014-10-13 20:37:59 -04:00
Sid Stamm
6dc09988bf Bug 1042135 - Change three-state DNT back to two state and update text. (r=dolske,jst,mcmanus)
--HG--
extra : rebase_source : 52556477cba80e87651ce7c84a531a2de500d21a
2014-01-28 09:26:16 -08:00
Phil Ringnalda
ab8d3a5d34 Back out 3 changesets (bug 1042135) for robocop bustage
CLOSED TREE

Backed out changeset dffed5d2a799 (bug 1042135)
Backed out changeset b80a02b929cc (bug 1042135)
Backed out changeset 093ea94a1697 (bug 1042135)
2014-10-21 23:11:11 -07:00
Sid Stamm
b1e21eef7b Bug 1042135 - Change three-state DNT back to two state and update text. (r=dolske,jst,mcmanus)
--HG--
extra : rebase_source : 2cc113eb167b83ded586b36380bb444a827f0084
2014-01-28 09:26:16 -08:00
Steve Workman
49393025ca Bug 1012917 - Send HttpBaseChannel::mApplyConversion with ChannelDiverter constructor in IPDL r=mayhemer 2014-10-21 16:40:08 -07:00
Martin Thomson
e4182ac689 Bug 1083058 - Adding pref to control TLS version fallback, r=keeler
From af667978f8915e6ebfaf02f8967b3d320d409a24 Mon Sep 17 00:00:00 2001
---
 netwerk/base/public/security-prefs.js              |  1 +
 security/manager/ssl/src/nsNSSIOLayer.cpp          | 21 +++++-
 security/manager/ssl/src/nsNSSIOLayer.h            |  2 +
 .../manager/ssl/tests/gtest/TLSIntoleranceTest.cpp | 76 +++++++++++++++++++---
 4 files changed, 90 insertions(+), 10 deletions(-)
2014-10-02 16:36:48 -07:00
Valentin Gosu
2eda82e00d Bug 1064706 - Send timing info to content process r=honzab 2014-10-06 12:31:29 +03:00
Wes Kocher
a90aa812b7 Merge inbound to m-c a=merge 2014-10-20 18:56:56 -07:00
Wes Kocher
bc6781c19d Merge inbound to m-c a=merge 2014-10-20 17:58:32 -07:00
Carsten "Tomcat" Book
e8412749e9 Merge mozilla-central to b2g-inbound 2014-10-20 15:52:37 +02:00
Valentin Gosu
74a360e504 Bug 1057688 - Skip doing a DNSPrefetch when LOAD_NO_NETWORK_IO or ONLY_FROM_CACHE flags are present r=mcmanus 2014-10-20 13:45:30 +03:00
Steve Workman
eafabe3cdc Bug 1084645 - Enable DNS TTL by default on Windows r=mcmanus 2014-10-20 10:26:33 -07:00
Patrick McManus
f6d9299667 bug 1073825 - http2session::cleanupstream failure r=hurley 2014-10-13 11:02:08 -04:00
Jonathan Hao
e902e7ca28 Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman
--HG--
extra : rebase_source : c4d53eaa5c21dcf993513ba7f32e1070cc8490fa
2014-10-03 17:41:26 +08:00
Jonathan Hao
6883968eb3 Bug 1080464 - [RTSP] Live stream frames are not rendered. r=ettseng r=bechen
--HG--
extra : rebase_source : aac290fc9cc887bd1a7a641b894a445ef4098c67
2014-10-13 11:30:26 +08:00
Steve Workman
547eca961f Bug 1074789 - Adjust DNS renewal time telemetry to take TTL experiments into consideration r=mcmanus 2014-10-07 14:57:48 -07:00
Christoph Kerschbaumer
3636869e7d Bug 1063197 - Callsites of NS_NewInputStreamChannel in /netwerk/ (r=mcmanus) 2014-10-16 11:14:35 -07:00
Christoph Kerschbaumer
78df988ba7 Bug 1063197 - Storing LoadInfo on all channels created through NS_NewInputStreamChannel - API changes (r=mcmanus) 2014-10-16 11:14:05 -07:00
Christoph Kerschbaumer
29facae35b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
Martin Thomson
e10ee742fd Bug 1076983 - Disabling SSL 3.0 with pref 2014-10-14 17:17:35 -07:00
Ryan VanderMeulen
f08616e2c6 Backed out changeset 8754d79ca14c (bug 1008091) for B2G cpptest permafail.
CLOSED TREE
2014-10-14 13:43:55 -04:00
Ryan VanderMeulen
1ba2333d39 Backed out changeset f156971f0f4d (bug 1074832) for Android crashes.
CLOSED TREE
2014-10-14 12:41:43 -04:00
Michal Novotny
bfb912d53e Bug 1074832 - CacheIndex merges journal with pending updates incorrectly, r=honzab 2014-10-14 16:33:06 +02:00
Ethan Tseng
15a948822d Bug 1072050 - Add pref for setting device identifier in UA string. r=khuey, sr=sicking 2014-10-02 11:44:29 +08:00
Daniel Stenberg
44e06d3eaf Bug 1008091 - Send network change events on FxOS and Linux. r=sworkman 2014-10-14 04:44:00 -04:00
Carsten "Tomcat" Book
6f19533fd8 Merge m-c to mozilla-inbound 2014-10-14 15:50:03 +02:00
Carsten "Tomcat" Book
cb5c7e7246 merge mozilla-inbound to mozilla-central a=merge 2014-10-14 15:41:43 +02:00
Michal Novotny
1c105e1a33 Bug 1066915 - Assertion failure: aEntry->IsDirty(), in mozilla::net::CacheIndex::UpdateEntryInIndex, r=honzab 2014-10-14 15:12:42 +02:00
Ethan Tseng
5c4280404e Bug 1014579 - [RTSP][V2.0] Full screen mode message shows null host when open in a new tab. r=sworkman 2014-10-14 11:47:03 +08:00
Wes Kocher
d947cf32a0 Merge m-c to inbound a=merge 2014-10-13 19:02:56 -07:00
Wes Kocher
566339b9c9 Merge inbound to m-c a=merge 2014-10-13 18:50:20 -07:00
Sylvestre Ledru
ffdf07dbb6 Bug 1081935 - Missing UUID bump. r=dragana a=me 2014-10-13 17:27:38 +02:00
Ethan Tseng
5282f97893 Bug 1080470 - [RTSP] Avoid unnecessary play/pause requests to RTSP server in RspControllerChild. r=sworkman 2014-10-09 18:44:50 +08:00
Patrick McManus
aec785a65a bug 1081341 - h2 1xx responses r=hurley 2014-09-27 09:06:38 -04:00
Ehsan Akhgari
27dbfa94cd Bug 1080937 - Fix a clang-cl build error in nsHostResolver.cpp; r=sworkman 2014-10-11 09:41:51 -04:00
Patrick McManus
12115897d4 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [2/2 necko] r=hurley 2014-08-21 10:50:17 -04:00
Patrick McManus
9c3bce6805 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [1/2 PSM] r=keeler 2014-08-20 16:30:16 -04:00
Patrick McManus
5e45f58122 bug 1076129 generate event on socket transport cancelation r=sworkman 2014-10-02 00:38:53 -04:00
Wes Kocher
0dadefde36 Merge inbound to m-c a=merge CLOSED TREE 2014-10-10 18:58:06 -07:00
Andrea Marchesini
125dadca5d Bug 504553 - patch 3 - WebSockes in Workers: Workers supported, r=smaug 2014-10-10 17:58:05 +01:00
Andrea Marchesini
e6a948be4c Bug 504553 - patch 2 - WebSockes in Workers: WebSocketImpl, thread-safe class, r=smaug 2014-10-10 17:56:43 +01:00
Matt Brubeck
2d90949938 Bug 1079338 - Log resources blocked by tracking protection. r=mcmanus,mmc,dcamp
* * *
Bug 1079338 - Put tracking protection logging in the Security tab
2014-10-10 12:19:14 -07:00
Neil Rashbrook
dd149d64e0 Bug 1078026 Clean up XPCOM string usage r=sworkman 2014-10-10 08:40:11 +01:00
Andrew McCreight
5cfdffbdb2 Back out afecbcdbe6d5 (bug 1064706 part 2) for leaking windows with e10s. 2014-10-09 13:02:18 -07:00
Daniel Stenberg
550c6f65bf Bug 1077084 - improved DNS cache pruning. r=sworkman 2014-10-13 23:07:00 +02:00
Steve Workman
dbb8893f00 Bug 504553 - Patch 1 - WebSockets in Workers: Dispatch WebSocketChannel::StartWebsocketConnect to target thread, r=jduell 2014-04-17 11:53:58 -07:00
Jeff Walden
01b8f84f30 Bug 991981 - ArrayBufferInputStream test. r=sfink, r=jdm
--HG--
extra : rebase_source : b50ffa49289aeb42bd4550b846934865b9c6f8d7
2014-04-04 17:34:09 -07:00
Steve Fink
d8af50a81f Bug 1082114 - Fix pre-setData() calls to .available(), r=Waldo
--HG--
extra : rebase_source : 7a9e0d8047539bdd8a71c51a4fb6352b00994a5d
2014-10-13 13:42:44 -07:00
Steve Fink
b640335cbc Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
Patrick McManus
a4aec59aa1 Bug 1079484 - Page stalls proxying over https part 1. r=hurley 2014-10-07 16:35:05 -04:00
Wes Kocher
26c0b8d5e5 Merge b2g-inbound to m-c a=merge 2014-10-08 16:49:26 -07:00
Eric Rahm
7fffd05532 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan 2014-10-08 13:19:14 -07:00
Eric Rahm
8d715a7fe4 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Honza Bambas
ebdb1881ef Bug 1074485 - Reflected Cross-Site Scripting (XSS) on about:cache context and storage request variables, r=MattN 2014-10-08 17:07:42 +02:00
Carsten "Tomcat" Book
f50a9f937d Merge m-c to b2g-inbound a=merge
--HG--
extra : amend_source : 97412f1e791df737909df250fa3cf08eb9763504
2014-10-08 16:06:57 +02:00
Ethan Tseng
de1a39a766 Bug 1074791 - [RTSP] Avoid unnecessary play/pause requests to RTSP server. r=sworkman, r=bechen 2014-10-08 14:23:13 +08:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Ryan VanderMeulen
2a44f93838 Merge m-c to fx-team. a=merge 2014-10-07 16:14:26 -04:00
Dave Townsend
c0153fffad Bug 1068412: Forward dynamically registered resource URI mappings to content processes. r=billm 2014-10-07 10:29:40 -07:00
Ryan VanderMeulen
c0ad8b6eb4 Merge inbound to m-c. a=merge 2014-10-06 17:05:56 -04:00
Ethan Tseng
6d6b3551f6 Bug 1075400 - [RTSP] Ensure PausedDone completes before sending a PLAY request to RTSP server. r=sworkman 2014-10-03 16:21:31 +08:00
Phil Ringnalda
145d867409 Backed out 2 changesets (bug 1003448) since their dependency was backed out
CLOSED TREE

Backed out changeset 61f98b1d29f9 (bug 1003448)
Backed out changeset 8e947d1636f1 (bug 1003448)
2014-10-04 20:10:19 -07:00
Phil Ringnalda
59de527bac Back out 77c1b79c5bec (bug 1076129) for causing frequent xpcshell crashes. Again. 2014-10-04 13:58:25 -07:00
Valentin Gosu
6c0f3942a5 Bug 786419 - Part 12: Add getAppOfflineState to nsIIOService r=jduell 2014-10-07 17:08:07 +03:00
Valentin Gosu
0820a97576 Bug 786419 - Part 10 - Fix app wrongly reporting an offline status r=jduell
In order for the content process to have an up-to-date table of which apps are
offline, we send that status in TabParent::LoadURL. However, the fact that
IsAppOffline returned true when the browser was offline, caused us to send
the offline status to content processes, and caused Bug 1058718.
This also updates the UUID for nsIOService.
2014-08-27 05:25:47 +03:00
Valentin Gosu
0a63941c13 Bug 786419 - Part 9 - Add better comments to nsIOService. r=jduell 2014-08-23 05:44:04 +03:00
Valentin Gosu
0db7cb932a Bug 786419 - Part 8 - Several improvements to per-app-offline behaviour r=jduell
Make GetAppId() pure-virtual and add implementation for TCPSocketParent, UDPSocketParent, and one for Necko parent that returns UNKNOWN_APP_ID
Change nsIOService to use IsNeckoChild instead of XRE_ method.
Include nsThreadUtils.h (for nsRunnable and dispatchToMainThread) and NeckoCommon for IsNeckoChild.
Make HttpChannelParent set LOAD_ONLY_FROM_CACHE, LOAD_FROM_CACHE and LOAD_NO_NETWORK_IO when offline.
2014-08-22 20:15:00 +03:00
Valentin Gosu
804753cf6d Bug 786419 - Part 7 - xpcshell test for HTTP per-app offline r=jduell 2014-08-23 05:06:44 +03:00
Valentin Gosu
a1b5100a48 Bug 786419 - Part 2 - Modify calls to NS_IsOffline to check for NS_IsAppOffline as well r=jduell,sicking 2014-08-23 06:06:56 +03:00
Valentin Gosu
087d426a86 Bug 786419 - Part 1 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Patrick Wang (Chih-Kai Wang)
90d0d29b1f Bug 951677 - Part 2: test case. r=honzab 2014-10-07 17:25:54 +08:00
Patrick Wang (Chih-Kai Wang)
09aed1e55d Bug 951677 - Part 1: Add Bind function to SocketTransport. r=honzab 2014-10-07 17:24:57 +08:00
Wes Kocher
445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
53a247fb00 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
--HG--
extra : rebase_source : 49a3f57d94fc94702f1604175c4e206091b67197
2014-10-06 13:11:24 -07:00
Eric Rahm
80d2b8bba6 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Patrick McManus
c0f03905c5 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [2/2 necko] r=hurley 2014-08-21 10:50:17 -04:00
Patrick McManus
235b069e72 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [1/2 PSM] r=keeler 2014-08-20 16:30:16 -04:00
Patrick McManus
62ac2724f7 bug 1076129 generate event on socket transport cancelation r=sworkman 2014-10-02 00:47:28 -04:00
Ryan VanderMeulen
fa9ac0b845 Merge m-c to inbound. a=merge 2014-10-03 16:26:37 -04:00
Dave Townsend
0b4ad00bae Bug 1077078: Don't spam stderr when failing to create a channel. r=mcmanus 2014-10-03 09:59:10 -07:00
Ed Morley
6c9d66f653 Backed out changeset a2192165100c (bug 1041180) for xpcshell failures; CLOSED TREE 2014-10-03 10:12:53 +01:00
Christoph Kerschbaumer
b86cc609d3 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-02 23:34:30 -07:00
Daniel Holbert
034807d6ba Bug 1073711: Clean up nsCacheService::CreateSessionInternal; drop useless null-check of 'this' and after 'new', and use nsRefPtr::forget(). r=mayhemer 2014-10-03 10:54:44 -07:00
Ryan VanderMeulen
4e2581f465 Backed out 3 changesets (bug 1076129, bug 1003448) for frequent xpcshell crashes on a CLOSED TREE.
Backed out changeset 3034162ee435 (bug 1003448)
Backed out changeset 086fe4b0ba14 (bug 1003448)
Backed out changeset 1babd65ebec7 (bug 1076129)
2014-10-02 15:53:21 -04:00
Patrick McManus
a7de0b2127 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [2/2 necko] r=hurley 2014-08-21 10:50:17 -04:00
Patrick McManus
39d073c8d5 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [1/2 PSM] r=keeler 2014-08-20 16:30:16 -04:00
Patrick McManus
7aa59fd5c0 bug 1076129 generate event on socket transport cancelation r=sworkman 2014-10-02 00:47:28 -04:00
Ryan VanderMeulen
b20021a33c Merge m-c to inbound. a=merge 2014-10-02 13:14:06 -04:00
Ryan VanderMeulen
4c98b09137 Merge fx-team to m-c. a=merge 2014-10-02 13:00:31 -04:00
Christoph Kerschbaumer
0d523437b3 Bug 1073282 - Proxy release of mLoadInfo in cannel dtors (r=jduell) 2014-09-29 08:48:11 -07:00
Patrick McManus
14a5b94a1a bug 1073747 - nsurlparser xpcom methods don't validate input r=sworkman 2014-09-27 14:51:19 -04:00
Richard Newman
2f7d8d7236 Bug 1071785 - Fix strict mode error in httpd.js. r=trivial 2014-10-01 18:09:42 -07:00
Jacek Caban
28b2e29a7d Bug 1067679 - mingw fixup. 2014-10-01 10:58:30 +02:00
Carsten "Tomcat" Book
967298d507 Merge m-c to mozilla-inbound 2014-09-30 15:35:59 +02:00
Honza Bambas
dcb7bd8028 Bug 1064258 - Allow caching channels only store metadata, r=jduell 2014-09-30 15:32:47 +02:00
Carsten "Tomcat" Book
b37ac43e39 merge fx-team to mozilla-central a=merge 2014-09-30 15:10:47 +02:00
Ryan VanderMeulen
c8d14e42a2 Merge m-c to fx-team. a=merge 2014-09-29 16:09:22 -04:00
Ed Morley
d2440bad17 Backed out changeset 50220dbf59ed (bug 1064258) for xpcshell failures; CLOSED TREE 2014-09-29 17:43:10 +01:00
Honza Bambas
0c74efcb35 Bug 1064258 - Allow caching channels only store metadata, r=jduell 2014-09-29 17:01:58 +02:00
Christoph Kerschbaumer
aa09be8eb3 Bug 1072316 - Proxy release of mLoadInfo in WebSocketChannel dtor (r=jduell) 2014-09-25 07:23:27 -07:00
Stephen Pohl
579061de7c Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00
Ben Turner
d081140cb0 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
James Willcox
d57ae2ce8d Bug 1024614 - Guard against null resolver when flushing DNS cache r=sworkman
--HG--
extra : histedit_source : 028f9b336a9da0ede7fec22afc4cabd00b86222f
2014-09-26 13:31:22 -05:00
Camilo Viecco
c2c7007b5f Bug 787133 - (hpkp) Part 1/2. Header Parsing and interface within PSM. r=keeler, r=mcmanus 2014-09-03 10:24:12 -07:00
Patrick McManus
f6a840b13e bug 1072860 - modernize ref counting and thread asserts for nshttptransaction r=valentin 2014-09-23 19:18:47 -04:00
Eric Rahm
8cf690729c Bug 1075984 - SpdyZlibReporter.h is missing an include guard. r=froydnj
--HG--
extra : rebase_source : 1765ff21f520e07da6337ce0b4a8c1190d46fdb7
2014-10-01 13:57:18 -07:00
Phil Ringnalda
6eb3e94389 Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
CLOSED TREE
2014-09-25 21:18:01 -07:00
Christoph Kerschbaumer
fd3d3cc25b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Wes Kocher
80f0226a8b Backed out changeset 0b75d671af47 (bug 1072860) for b2g m3 orange 2014-09-25 16:45:14 -07:00
Patrick McManus
8eae58d009 bug 1072860 - modernize ref counting and thread asserts for nshttptransaction r=valentin 2014-09-23 19:18:47 -04:00
Ryan VanderMeulen
f24dab74ce Merge inbound to m-c. a=merge 2014-09-25 16:46:51 -04:00
Jonathan Hao
7d539e20d0 Bug 1024276 - Replace multiple character literals with enumerated constants. r=sworkman 2014-09-19 18:01:40 +08:00
Steve Workman
2f4a61e5cb Bug 1070966 - Change WrapRunnableNM to NS_NewRunnableMethodWithArg r=mcmanus 2014-09-24 09:56:13 -07:00
Andrea Marchesini
1d21930927 Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz 2014-09-24 17:09:50 +01:00
Ed Morley
0b6dc6427d Backed out changeset 89d06d103c10 (bug 939318) for Valgrind failures; CLOSED TREE 2014-09-24 16:17:57 +01:00
Ed Morley
80ce7b3e12 Backed out changeset 0a066b7ffa46 (bug 939318) 2014-09-24 16:17:32 +01:00
Ed Morley
7bbf083a70 Backed out changeset 20ae968df114 (bug 939318) 2014-09-24 16:17:27 +01:00
Ed Morley
1d05ce0049 Backed out changeset a7f522902e40 (bug 939318) 2014-09-24 16:17:23 +01:00
Ed Morley
fd5d2934c4 Backed out changeset c15814d1ec25 (bug 939318) 2014-09-24 16:17:18 +01:00
Ed Morley
04d60c2607 Backed out changeset fedb7e3d1ae0 (bug 939318) 2014-09-24 16:17:14 +01:00
Daniel Stenberg
c29b234f19 Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the network changed event in test_ping_aboutnetworking.js
2014-09-19 06:36:00 -04:00
Daniel Stenberg
957147ce3a Bug 939318 - Send a network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-09-19 06:34:00 -04:00
Daniel Stenberg
b130ea087f Bug 939318 - Have websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
963adef558 Bug 939318 - Have protocolproxy service act on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-05 09:29:00 -04:00
Daniel Stenberg
5849257293 Bug 939318 - Find and close HTTP connections without traffic after network change, r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-09-11 06:55:00 -04:00
Daniel Stenberg
3984adf1be Bug 939318 - Detect network interface changes on windows. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected. It does not send any CHANGED events
during the first 2 seconds after startup.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache and restarts
ongoing name resolves)

HttpHandler: acts on network changes
2014-09-23 03:48:00 -04:00
Carsten "Tomcat" Book
76043a5642 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Carsten "Tomcat" Book
7237bc85fb Backed out changeset 13028d2039e8 (bug 1069401) for b2g m1 test failures 2014-09-24 12:40:43 +02:00
Christoph Kerschbaumer
a2ecbd83dc Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Andrea Marchesini
6763c7cf68 Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz 2014-09-23 22:26:00 +02:00
Wes Kocher
ff7c6d21cd Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer
bc20780b98 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Nicholas Hurley
000ef68cf1 Bug 1046915 - Pref to advertise the latest HTTP/2 draft as "h2". r=mcmanus 2014-09-23 10:49:13 -07:00
Nils Ohlmeier [:drno]
7204b2e48f Bug 1049688 - Allow override of MOZ_DISABLE_NONLOCAL_CONNECTIONS. r=froydnj 2014-09-22 09:48:00 -04:00
Christoph Kerschbaumer
41a8501ce8 Bug 1037669: Setting LoadInfo explicitly for nsIWebSocketChannels (r=tanvi,jduell) 2014-08-13 13:26:17 -07:00
Daniel Stenberg
41837a73eb Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the network changed event in test_ping_aboutnetworking.js
2014-09-19 06:36:00 -04:00
Daniel Stenberg
253a96d3fb Bug 939318 - Send a network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-09-19 06:34:00 -04:00
Daniel Stenberg
3382318bdb Bug 939318 - Have websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
4e2f285af3 Bug 939318 - Have protocolproxy service act on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-05 09:29:00 -04:00
Daniel Stenberg
4626439304 Bug 939318 - Find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-09-11 06:55:00 -04:00
Daniel Stenberg
e3a15e4b5d Bug 939318 - Detect network interface changes on Windows. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected. It does not send any CHANGED events
during the first 2 seconds after startup.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache and restarts
ongoing name resolves)

HttpHandler: acts on network changes
2014-09-24 23:14:00 -04:00
Valentin Gosu
d2282e76f9 Bug 1011354 - Use a mutex to guard access to nsHttpTransaction::mConnection. r=mcmanus, r=honzab 2014-09-18 22:21:59 +03:00
Christoph Kerschbaumer
1df11d07a4 Bug 1038756: Refactor SetUpChannelOwner to ChannelShouldInheritPrincipal (r=bz) 2014-07-17 16:07:58 -07:00
Christoph Kerschbaumer
e27bd0e936 Bug 1038756: Callsites creating a channel in /netwerk/ [e10s parts] (r=mcmanus) 2014-09-21 09:40:27 -07:00
Christoph Kerschbaumer
a1024eede2 Bug 1038756: Callsites creating a channel in /netwerk/ (r=mcmanus)
* * *
[mq]: child_parent_communication.patch
2014-09-21 09:40:12 -07:00
Christoph Kerschbaumer
ad9558026c Bug 1038756: Extend nsNetutil to include requestingPrincipal, requestingNode, and contentPolicyType (r=mcmanus) 2014-07-17 14:52:25 -07:00
J. Ryan Stinnett
430a4988cb Bug 242448 - Add a basic scriptable TLS server. r=honzab 2014-09-19 17:25:00 +02:00
David Major
113341cd89 Bug 1067679 followup - fix build bustage with VS2013.
--HG--
extra : rebase_source : 63b5b6795d53d70b2d3b3efa1efee1ea2ae2b9df
2014-09-22 13:52:28 +12:00
John Sullivan
b691107c76 Bug 1067679 - Call DnsQuery in addition to getaddrinfo to get DNS TTL on Windows r=sworkman 2014-09-20 15:10:18 -07:00
Julian Seward
41486cb970 Bug 1065130 - nsFtpState::mDoomCache is used uninitialised r=jduell 2014-09-19 13:12:10 -07:00
Carsten "Tomcat" Book
f112480895 Backed out changeset 23400439c1da (bug 242448) for breaking non-unified builds 2014-09-19 11:39:04 +02:00
Carsten "Tomcat" Book
98811767d8 Backed out changeset 824da93333e7 (bug 1065130) for bustage 2014-09-19 09:41:34 +02:00
Julian Seward
084b20d4c9 Bug 1065130 - "nsFtpState::mDoomCache is used uninitialised". r=jduell.mcbugs 2014-09-09 14:54:00 +02:00
J. Ryan Stinnett
c7788f18fa Bug 242448 - Add a basic scriptable TLS server. r=honzab 2014-09-18 08:13:00 +02:00
Tom Tromey
e21e8e622e Bug 1069387 - Fix "Transaction" typos in netwerk/protocol/http. r=mcmanus 2014-09-18 08:13:00 -04:00
Patrick McManus
347474b87d bug 1048468 - pac resolution with myIPAddress can block on dns timeouts r=sworkman 2014-09-18 11:53:30 -04:00
Ben Turner
46d101f40c Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Valentin Gosu
0d99c53f96 Bug 1064706 - Send timing info to content process r=honzab 2014-10-06 14:33:27 +03:00
Valentin Gosu
80fd26828f Bug 1064706 - Move nsHttpChannel::GetPerformance to HttpBaseChannel so it can be used in HttpChannelChild r=honzab 2014-10-06 14:33:13 +03:00
Josh Matthews
8f259e6613 Bug 898524: Part 2 - Avoid IPC roundtrips for synthesized responses. r=mayhemer 2014-10-17 09:55:09 -04:00
Josh Matthews
162208d7d0 Bug 898524 - Part 1: Permit certain HTTP channels to be intercepted before initiating a network connection. r=mayhemer 2014-07-09 16:35:02 -04:00
Dragana Damjanovic
c1847f16c9 Bug 1081794 - Fixing a test for dns request cancel. On e10s, the dns resolver is sometimes faster than a cancel request. Use a random string to be resolved instead of a fix one. r=sworkman 2014-10-14 10:03:00 +02:00
Camilo Viecco
fbb3431aa0 Bug 787133 - (hpkp) update nsSiteSecurityService idl. r=keeler.
--HG--
extra : rebase_source : 6671c4026d6a8413adc3c71cb374321756a51f6c
2014-09-12 14:56:53 -07:00
Dragana Damjanovic
3d407d6aac Bug 1067346 - Fix "apply conversion" when channel is diverted to parent. r=jduell 2014-09-16 06:30:00 -04:00
Wes Kocher
725423ccde Merge inbound to m-c a=merge 2014-09-16 17:06:43 -07:00
Henry Chang
9213f1f427 Bug 1058022 - B2G crashes during RTSP and HTTP streaming playback. r=sworkman 2014-09-10 16:09:48 +08:00
Michal Novotny
b4419bc82f Bug 1056919 - crash in memcpy | mozilla::net::CacheFileChunk::OnDataRead(mozilla::net::CacheFileHandle*, char*, tag_nsresult), r=honzab 2014-09-16 20:37:39 +02:00
Honza Bambas
a74bb7ffb1 Bug 1065478 - POSTs are coming from offline application cache, r=jduell 2014-09-16 15:51:51 +02:00
Honza Bambas
430a858de9 Bug 1066726 - Concurrent HTTP cache read and write issues, r=michal+jduell 2014-09-16 15:51:50 +02:00
Honza Bambas
ba0ee1543e Bug 1029782 - Have OPEN_SECRETLY flag for opening cache entries, r=michal 2014-09-16 15:51:50 +02:00
Honza Bambas
1c22ca20d6 Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal 2014-09-16 15:51:50 +02:00
Mark Hammond
3cd7c18fda Bug 1058433 - nsPermissionManager now records the mod-time of a permission and allows removal of ones modified since a specified time. r=ehsan 2014-09-15 11:33:12 +10:00
Ben Turner
1a91d40956 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Carsten "Tomcat" Book
f61f2f49c9 Backed out changeset ce8f00cca9dd (bug 1000338) for XPC-2 test failures 2014-09-11 14:31:54 +02:00
Carsten "Tomcat" Book
f71aba39f2 Backed out changeset 25c721fd5dc6 (bug 1029782) for XPCshell bustage on a CLOSED TREE 2014-09-11 13:07:41 +02:00
Honza Bambas
83582708a5 Bug 1029782 - Have OPEN_SECRETLY flag for opening cache entries, r=michal 2014-09-11 11:44:31 +02:00
Honza Bambas
e73517351a Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal 2014-09-11 11:44:31 +02:00
Michal Novotny
a35cc357cc Bug 1052266 - Potential deadlock detected: CacheEntry, CacheIndex.mLock, CacheStorageService at CacheEntry, r=honzab 2014-09-10 14:43:50 +02:00
Kyle Huey
1e8e0c575a Bug 982212: Part 3 - Now that nsTArray::AppendElement supports r-value references, remove the workarounds added in Bug 967364. r=nfroyd
--HG--
extra : rebase_source : 1e6188d26b745f6dc9bdf2accc0abf7f07351510
2014-03-15 18:56:00 +01:00
Valentin Gosu
96eb6b1308 Bug 936814 - Part 1: Implement the _timing allow check algorithm_ for cross-origin Resource Timing r=bz,honzab 2014-05-15 08:26:07 +03:00
Bobby Holley
7c712dca7b Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00
Valentin Gosu
04a675301a Bug 473822 - Square brackets not percent-encoded in URI's query-part. r=jduell 2014-09-06 01:32:04 +03:00
Carsten "Tomcat" Book
8d84d4beb8 Backed out changeset 876ba605d62c (bug 939318) for XPCTest Failures 2014-09-08 12:41:53 +02:00
Carsten "Tomcat" Book
43f8d5802d Backed out changeset 6c0f309856fc (bug 939318) XPCTest Failures 2014-09-08 12:41:39 +02:00
Carsten "Tomcat" Book
f44e8fcd55 Backed out changeset 5d4a27b67b96 (bug 939318) for XPCTest failures 2014-09-08 12:41:28 +02:00
Carsten "Tomcat" Book
96df5f5804 Backed out changeset 19325851ecee (bug 939318) for XPCtest failures 2014-09-08 12:41:16 +02:00
Carsten "Tomcat" Book
071e0ab11f Backed out changeset d4b3920ae4a3 (bug 939318) for XPCtest failures 2014-09-08 12:40:52 +02:00
Daniel Stenberg
90b66de143 Bug 939318 - send network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-08-24 23:21:00 +02:00
Daniel Stenberg
d4b3929223 Bug 939318 - websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 +02:00
Daniel Stenberg
99e46ac453 Bug 939318 - protocolproxy service acts on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-05 09:29:00 +02:00
Daniel Stenberg
e7652bafea Bug 939318 - find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 +02:00
Daniel Stenberg
d590129918 Bug 939318 - detect network interface changes on windows properly. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-29 01:18:00 +02:00
David Keeler
d219ed0d80 bug 775370 - (part 2/2) use DataStorage as back-end to nsSiteSecurityService r=briansmith 2014-09-04 10:42:31 -07:00
Carsten "Tomcat" Book
6a39b7b550 Backed out changeset 4c214efc94f8 (bug 939318) 2014-09-05 13:10:50 +02:00
Carsten "Tomcat" Book
a5a123f75b Backed out changeset f6442e1ba5f0 (bug 939318) 2014-09-05 13:10:48 +02:00
Carsten "Tomcat" Book
dca57a5741 Backed out changeset 775de48c0e2b (bug 939318) 2014-09-05 13:10:45 +02:00
Carsten "Tomcat" Book
3838458451 Backed out changeset fee0bffd3a91 (bug 939318) 2014-09-05 13:10:43 +02:00
Carsten "Tomcat" Book
ed2b21e9bd Backed out changeset a96f30861b6c (bug 939318) 2014-09-05 13:10:39 +02:00
Carsten "Tomcat" Book
f3d93e7445 Backed out changeset c25e5f0020fe (bug 939318) 2014-09-05 13:10:23 +02:00
Daniel Stenberg
3d353d43a3 Bug 939318 - introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the network changed event in test_ping_aboutnetworking.js
2014-09-03 02:14:00 +02:00
Daniel Stenberg
ec22495524 Bug 939318 - send network changed event when returning from sleep, r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-08-24 23:21:00 +02:00
Daniel Stenberg
70a0a77385 Bug 939318 - websockets act on network interface changes, r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 +02:00
Daniel Stenberg
b8ca3775b3 Bug 939318 - protocolproxy service acts on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-04 06:14:00 +02:00
Daniel Stenberg
3815268a76 Bug 939318 - find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 +02:00
Daniel Stenberg
3164855cdf Bug 939318 - detect network interface changes on windows properly, r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-29 01:18:00 +02:00
Wes Kocher
4c51a3c574 Merge m-c to inbound a=merge 2014-09-04 18:47:52 -07:00
Wes Kocher
d48269bc7c Merge inbound to m-c a=merge 2014-09-04 18:30:01 -07:00
Tim Taubert
14ff946437 Bug 1047472 - Make parseSubmissionURL return the string offset for each search term r=paolo 2014-08-06 20:36:35 +02:00
Christoph Kerschbaumer
68de320099 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Mike Hommey
0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ryan VanderMeulen
f5859a2048 Merge inbound to m-c. a=merge 2014-09-03 16:38:57 -04:00
Ethan Tseng
aed1b15db2 Bug 1049241 - [MADAI][Multimedia] Cannot play some RTSP link due to error in MP4A-LATM assembler. r=sworkman 2014-09-03 10:54:54 +08:00
Gervase Markham
a9a604f9a7 Bug 1061264 - Add service.gov.uk to the PSL. Patch by David Illsley <david.illsley@digital.cabinet-office.gov.uk>. r=gerv. 2014-09-02 08:07:00 +02:00
Steve Workman
96f2ba264b Bug 1058099 - Cancel CacheStorageService::mPurgeTimer if it's still set during shutdown r=mayhemer 2014-09-02 13:33:32 -07:00
Ehsan Akhgari
b1b56df2fe Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg 2014-09-02 18:24:49 -04:00
Trevor Saunders
d75ed5bf7f bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari
052526d479 Bug 1061052 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-09-02 09:49:38 -04:00
Tim Taubert
0e42e71b6c Bug 525284 - When cancelling a HTTP transaction, abandon all its half-open sockets r=mcmanus 2014-08-30 10:24:36 +02:00
Birunthan Mohanathas
0f1762f547 Bug 1058669 - Expand NS_IMPL_GETSET macro in nsDirIndex. r=mayhemer 2014-08-29 13:38:45 -07:00
Gervase Markham
f2fed6481f Bug 1061266 - New TLD additions for gTLDs contracted with ICANN from 2014-07-25 to 2014-09-01. r=gerv 2014-09-02 07:27:00 +02:00
Ryan VanderMeulen
f9e1c75706 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Ryan VanderMeulen
5c2f080f01 Backed out 6 changesets (bug 939318) for Windows xpcshell failures on a CLOSED TREE.
Backed out changeset faece15110ef (bug 939318)
Backed out changeset ecc0368d9283 (bug 939318)
Backed out changeset 4dcb889cf913 (bug 939318)
Backed out changeset 2fe8c65c26c2 (bug 939318)
Backed out changeset 0b9c1bbc7826 (bug 939318)
Backed out changeset fc191ae0a0e8 (bug 939318)
2014-08-29 14:22:47 -04:00
Ethan Tseng
6f5dfa420c Bug 1059144 - [MADAI][Multimedia] System crash when RTSP client connects to a non-RTSP-server port. r=sworkman 2014-08-29 17:57:32 +08:00
Daniel Stenberg
a34f73bd67 Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the events in test_ping_aboutnetworking.js and in
test_proxy-failover_passing.js
2014-08-29 01:11:00 -04:00
Daniel Stenberg
047c33b3d7 Bug 939318 - Send network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
686092a79c Bug 939318 - Websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
2cc297e6e0 Bug 939318 - protocolproxy service acts on network interface changes. r=mcmanus 2014-08-24 23:20:00 -04:00
Daniel Stenberg
0d9d99d085 Bug 939318 - Find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 -04:00
Daniel Stenberg
aafcd6d51a Bug 939318 - Detect network interface changes on windows properly. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-29 01:18:00 -04:00
Fabrice Desré
4533961b74 Bug 1011738 - Theme support for b2g/gaia, Part 4 : security checks r=bent,bz 2014-08-28 17:20:27 -07:00
Ryan VanderMeulen
d349beb9d9 Backed out changeset 2f94e060bac3 (bug 1012917) for Mnw bustage.
CLOSED TREE
2014-08-28 14:58:14 -04:00
Steve Workman
37443bc709 Bug 1012917 - Send HttpBaseChannel::mApplyConversion with ChannelDiverter constructor in IPDL r=reuben r=mayhemer 2014-08-28 10:58:20 -07:00
Ryan VanderMeulen
a06cc3f4ff Merge m-c to fx-team. a=merge 2014-08-27 15:57:14 -04:00
Tim Taubert
843e826a17 Bug 1040931 - Add extensionID parameter to addEngineWithDetails r=gavin 2014-08-27 16:38:20 +02:00
Nicholas Nethercote
df1c26a45e Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Wes Kocher
3bf1a97537 Bug 745283 - rev UUID again r=me a=kwierso 2014-08-26 18:05:26 -07:00
Wes Kocher
dac5eaa4c4 Merge m-c to inbound a=merge 2014-08-26 17:49:52 -07:00
Ryan VanderMeulen
7c10863e87 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-26 16:05:42 -04:00
Ryan VanderMeulen
a19bf3acbf Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Ryan VanderMeulen
0efb1eb5c4 Backed out 7 changesets (bug 939318) for frequent Win7/Win8 xpcshell failures. a=backout
Backed out changeset 21dcd9e1b607 (bug 939318)
Backed out changeset cc131cf9ef81 (bug 939318)
Backed out changeset 02925699b9bb (bug 939318)
Backed out changeset a2d39ac660a6 (bug 939318)
Backed out changeset eeb8897aaa59 (bug 939318)
Backed out changeset d1e1ca369322 (bug 939318)
Backed out changeset 37bee525b188 (bug 939318)
2014-08-26 15:56:51 -04:00
Jim Chen
3dcbdea53a Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Botond Ballo
c8e5c6df06 Bug 965022 - Use MOZ_FORMAT_PRINTF for nsTString::AppendPrintf, and fix incorrect usages. r=jrmuizel 2014-08-26 12:05:41 -04:00
Dragana Damjanovic
8bc6d0e95f Bug 947721 - Fix function CancelAsyncRequest and add the same function for the child process. r=sworkman
--HG--
extra : rebase_source : b89d296732cd65e8bfc0c6ff563095a668484eae
2014-08-26 05:09:00 -04:00
Ryan VanderMeulen
a1273d8f00 Bug 939318 - Bump nsINetworkLinkService UUID. r=IDon'tLikeRandomBustage 2014-08-26 08:53:53 -04:00
Daniel Stenberg
1757ec5b5c Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the events in test_ping_aboutnetworking.js and in
test_proxy-failover_passing.js
2014-08-24 23:22:00 -04:00
Daniel Stenberg
af4b616c2c Bug 939318 - Send network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
9234024b80 Bug 939318 - Websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
a2431c67fd Bug 939318 - protocolproxy service acts on network interface changes. r=mcmanus 2014-08-24 23:20:00 -04:00
Daniel Stenberg
2057a12ca2 Bug 939318 - Find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 -04:00
Daniel Stenberg
458b97f93e Bug 939318 - Detect network interface changes on windows properly. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-24 23:19:00 -04:00
Shih-Chiang Chien
6fb3b1ce8f Bug 745283 - Part 3: Support send input stream and multicast operation via PUDPSocket.ipdl. r=jduell, r=mt 2014-05-06 18:32:25 +08:00
Shih-Chiang Chien
956e041f97 Bug 745283 - Part 1: Expose nsINetAddr for the local address of nsUDPSocket and support send with InputStream. r=jduell, r=mayhemer
--HG--
rename : netwerk/test/unit/test_bug952927.js => netwerk/test/unit/test_udpsocket.js
2014-04-21 09:33:00 +08:00
Wes Kocher
d10230338d Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Wes Kocher
3975ac3d32 Backed out 4 changesets (bug 745283) for conflicting with the backout of bug 786419 a=backout
Backed out changeset a1af198d91bd (bug 745283)
Backed out changeset 9fc6f4275bbb (bug 745283)
Backed out changeset 37c10c9f2a4d (bug 745283)
Backed out changeset bc0ab47e8ac7 (bug 745283)

--HG--
rename : netwerk/test/unit/test_udpsocket.js => netwerk/test/unit/test_bug952927.js
2014-08-26 16:33:42 -07:00
Shih-Chiang Chien
f791a86a22 Bug 745283 - Part 3: Support send input stream and multicast operation via PUDPSocket.ipdl. r=jduell, r=mt 2014-05-06 18:32:25 +08:00
Shih-Chiang Chien
3b55c8951a Bug 745283 - Part 1: Expose nsINetAddr for the local address of nsUDPSocket and support send with InputStream. r=jduell, r=mayhemer
--HG--
rename : netwerk/test/unit/test_bug952927.js => netwerk/test/unit/test_udpsocket.js
2014-04-21 09:33:00 +08:00
Ben Kelly
251f835868 Bug 1062005 Export nsURLParsers.h to allow use of nsStdURLParser. r=mcmanus 2014-09-04 17:01:03 -04:00
Ryan VanderMeulen
27e10a0ca2 Bug 1048579 - Update the nsIChannel UUID. rs=Ms2ger
--HG--
extra : rebase_source : c4032b92e3ced113610ec9c365a5dadea2f57947
2014-08-25 09:55:57 -04:00
Robert O'Callahan
43fa3946ce Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 39b6d37dbbf138095856954bee583e84cfd971b5
2014-08-23 00:08:14 +12:00
Valentin Gosu
077e9036e0 Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Steve Workman
72470d21f0 Bug 1054572 - Remove redundant references to HTTP cache v1 API r=mayhemer 2014-08-22 15:17:32 -07:00
Steve Workman
b1534a8baf Bug 1054572 - Don't mark cache entries as classified if on the allow list r=mmc 2014-08-22 15:17:32 -07:00
Wes Kocher
0b164a61dd Backed out 3 changesets (bug 1054572) for being the apparent cause of ASAN m-3 leaks
Backed out changeset cbd1a7c4d0b0 (bug 1054572)
Backed out changeset 466d677dacc0 (bug 1054572)
Backed out changeset 8b49480288aa (bug 1054572)
2014-08-22 12:45:29 -07:00
Steve Workman
ff26b43196 Bug 1054572 - Remove redundant references to HTTP cache v1 API r=mayhemer 2014-08-22 10:49:29 -07:00
Steve Workman
5d052eb5d5 Bug 1054572 - Don't mark cache entries as classified if on the allow list r=mmc 2014-08-22 10:49:28 -07:00
Ryan VanderMeulen
0b6826aac5 Backed out changeset ecf04c6eb4dd (bug 1048579) for xpcshell failures. 2014-08-22 10:08:10 -04:00
Robert O'Callahan
d82cede239 Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 067e99eaad781dec78a772405870b02c195a42e2
2014-08-23 00:08:14 +12:00
Trevor Saunders
fd5e9d1fcc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Bobby Holley
fbc32b2e2d Bug 981218 - Stop using a default compartment object in the IndexedDB and ProxyAutoConfig JSRuntimes. r=bobowen 2014-08-21 17:13:51 -07:00
Honza Bambas
2c67fe9215 Bug 1040086 - EV identifier missing when restoring session with HTTP cache v2. r=michal 2014-08-21 15:50:16 -07:00
Nathan Froyd
a088ec81d5 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Christoph Kerschbaumer
ce11d17474 Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm) 2014-08-12 21:15:56 -07:00
Kyle Huey
6d59ed53db Bug 1034315: Don't use NS_DECL_NSIFOO macros without inheriting from nsIFoo in netwerk/. r=mayhemer
--HG--
extra : rebase_source : a16e530ad8aafa28f45be95641c6c0c3aac7cda6
2014-08-21 10:47:38 -07:00
Patrick McManus
de7e1803bc Bug 820391 - Backout revision 4741ef815af9 for various regressions.
DONTBUILD
2014-08-21 10:53:11 -04:00
Ryan VanderMeulen
30e63485d6 Backed out changeset 49502f43bd03 for landing with the wrong bug number. 2014-08-21 11:03:02 -04:00
Patrick McManus
d8cd53790d bug 820931 - backout 4741ef815af9 r=backout
--HG--
extra : rebase_source : d862e877dd3d28df5322b3464e3c0b10a460a56d
2014-08-21 10:53:11 -04:00
Shian-Yow Wu
d62be2645d Bug 1055966 - Specify limitation of RemoteOpenFileChild::OpenNSPRFileDesc(). r=jduell 2014-08-21 10:13:43 +08:00
Shian-Yow Wu
ba9e1b8dc5 Backed out changeset 69471d6c631a for missing reviewer name in the commit message. 2014-08-21 09:45:40 +08:00
Shian-Yow Wu
a5189a2496 Bug 1055966 - Specify limitation of RemoteOpenFileChild::OpenNSPRFileDesc(). 2014-08-21 09:40:19 +08:00
Patrick McManus
8bb10930d4 bug 1056133 - add h2 to coalescing list r=hurley 2014-08-20 10:41:14 -04:00
Dragana Damjanovic
81e4019cf2 Bug 1035075 - Dispatch a runnable to wait for the PAC thread to shutdown. r=mcmanus 2014-08-14 01:59:00 -04:00
Patrick McManus
300766f367 bug 1050063 - consider tls client hello version in alpn/npn offer list r=hurley r=keeler 2014-08-15 09:39:53 -04:00
Jan Beich
cae12d5c72 Bug 1055113 - Unbreak non-unified build on FreeBSD after bug 988816. r=swu, r=jduell 2014-08-18 11:59:00 -04:00
Nicholas Hurley
f19d15e618 Bug 1054173 - Do not fail connections when receiving request headers. r=mcmanus 2014-08-18 14:59:32 -07:00
josullivan
fa4f761593 Bug 820391: Use DnsQuery on Windows. r=sworkman
From 21e22e494541d5e4c085a6ba84e1bc5b4c92330e Mon Sep 17 00:00:00 2001
---
 netwerk/dns/DNS.cpp            |  65 +++++++-
 netwerk/dns/DNS.h              |   6 +
 netwerk/dns/GetAddrInfo.cpp    | 362 +++++++++++++++++++++++++++++++++++++++++
 netwerk/dns/GetAddrInfo.h      |  65 ++++++++
 netwerk/dns/moz.build          |   1 +
 netwerk/dns/nsHostResolver.cpp | 320 ++++++++++++++++++++++++++----------
 netwerk/dns/nsHostResolver.h   |  43 ++++-
 7 files changed, 766 insertions(+), 96 deletions(-)
 create mode 100644 netwerk/dns/GetAddrInfo.cpp
 create mode 100644 netwerk/dns/GetAddrInfo.h
2014-08-15 17:25:06 -07:00
Michal Novotny
fc4957e061 Bug 1054425 - cache2: leak in CacheFileMetadata::WriteMetadata, r=jduell 2014-08-18 21:11:40 +02:00
Michal Novotny
fc093f7b96 Bug 1042192 - Use Cache2 I/O thread for callbacks from CacheFileIOManager, r=sworkman 2014-08-18 15:36:27 +02:00
Ryan VanderMeulen
8d1b525259 Merge m-c to inbound. a=merge 2014-08-15 17:04:03 -04:00
Ryan VanderMeulen
7c6c3f9580 Merge b2g-inbound to m-c. a=merge 2014-08-15 17:03:00 -04:00
Ed Morley
c3b038504e Merge mozilla-central and b2g-inbound 2014-08-15 17:35:28 +01:00
Garrett Robinson
90fa6beb03 Bug 1029155 - Tests for storing failed certificate chains r=keeler 2014-08-15 11:27:31 -07:00
Garrett Robinson
691dcd68c1 Bug 1029155 - Store peer certificate chain from failed connections on TransportSecurityInfo r=keeler 2014-08-15 11:27:22 -07:00
Ethan Tseng
0461c19b5c Bug 1049235 - [MADAI][Multimedia] Some RTSP link does not operate seek function. r=sworkman 2014-08-08 16:48:02 +08:00
Sotaro Ikeda
139b9c0223 Bug 1053204 - remove redundant close() r=bent 2014-08-13 20:57:24 -07:00
Seth Fowler
fba5d7592f Bug 913586 (Part 8) - Update Maybe users in netwerk. r=mcmanus
--HG--
extra : rebase_source : 9e5d4813ab463860a6339740e955a958b1902f8f
2014-08-13 15:42:16 -07:00
Michal Novotny
bb9e12a5bf Bug 1026951 - Assertion failure: NS_IsMainThread() (OnStateStop should only be called on the main thread.). r=sworkman 2014-08-14 05:45:00 -04:00
Dragana Damjanovic
7da0afd3c8 Bug 1043256 - If unKnownDecoder needs to be used, Content_Encodings will be loaded before OnStartRequest is called on the listener. This makes an error in e10s because Content_Encodings will be loaded before HttpChannelParent can disable them. r=bagder 2014-08-13 10:52:00 -04:00
Gervase Markham
7f958e1e10 Bug 1051892 - Fix comments in PSL. r=gerv 2014-08-13 07:39:00 -04:00
Frederico Neves
231897147b Bug 1051875 - Update PSL for nom.br. r=gerv 2014-08-13 07:41:00 -04:00