Commit Graph

10571 Commits

Author SHA1 Message Date
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
Mehmet Gurevin
1dc7f018fb Bug 1041035 - Add subTLDs for .tr to PSL. r=gerv 2014-08-13 07:45:00 -04:00
Stefano Rivera
631263f5ae Bug 1040729 - Add yolasite.com to PSL. r=gerv 2014-08-13 07:51:00 -04:00
Jonathan Rudenberg
f809a85075 Bug 1037901 - Add flynnhub.com to PSL. r=gerv 2014-08-13 07:53:00 -04:00
Gervase Markham
36d1f2a82a Bug 1028347 - Remove k12.nd.us from PSL. r=gerv 2014-08-13 07:55:00 -04:00
Stefan Meinecke
d54cd46bff Bug 1024631 - Remove additional line breaks between 4rd level .us tld sections. r=gerv 2014-08-13 07:59:00 -04:00
Valentin Gosu
a94022f8e3 Bug 1045886 - Remove Cache directory from Android profiles r=michal 2014-08-13 16:43:45 +03:00
Georgios Kontaxis
84de446bfd Bug 1050348: nsChannelClassifier will update the security state of the document and fire a security state change event to include the nsIWebProgressListener::STATE_BLOCKED_TRACKING_CONTENT or STATE_LOADED_TRACKING_CONTENT flag depending on whether it is about to cancel a channel or skip tracking protection classification respectively. r=mcmanus 2014-08-12 13:53:15 -07:00
Shigeki Ohtsu
dd8aa72b47 Bug 1051982 - fix integer prefix to encode Header Table Size Update r=hurley 2014-08-12 09:31:26 +09:00
Ben Cartwright-Cox
133acff6fa Bug 1025002 - Update .et in PSL. r=gerv 2014-06-25 08:31:00 -04:00
Gervase Markham
4816930126 Bug 1024740 - Change one instance of engineering to engineer in the PSL. r=gerv 2014-06-13 02:40:00 -04:00
Geoff Brown
1eb77ff50d Bug 675039 - Enable some netwerk xpcshell tests; no review 2014-08-12 07:17:14 -06:00
Ed Morley
f10bc818e5 Backed out changeset 48e333722371 (bug 1045886) for assertions during test_bug437844.xul 2014-08-12 12:00:13 +01:00
Valentin Gosu
01e9603ddb Bug 1045886 - Remove Cache directory from Android profiles r=michal 2014-08-12 12:04:13 +03:00
Michael Wu
a7fb246d17 Bug 1036394 - Add support for getting the zip entry from the jar channel, r=jduell 2014-08-04 11:54:28 -04:00
Ryan VanderMeulen
bb84da7a6b Merge m-c to b2g-inbound. a=merge 2014-08-11 17:18:31 -04:00
Jason Duell
b28edd6f4c Bug 1049806 - b2g process leaks FDs. r=bent 2014-08-11 11:35:03 -07:00
Ryan VanderMeulen
db7081fbb1 Backed out changeset dc22b1e92554 (bug 1009648) for Windows debug shutdown crashes.
CLOSED TREE
2014-08-09 00:49:19 -04:00
J. Ryan Stinnett
ce8794da11 Bug 1040130 - Allow specifying a client cert for sockets. r=keeler, r=mcmanus 2014-08-07 16:32:00 -04:00
Valentin Gosu
b4b9a0213d Bug 1009648 - nsStandardURL crashes when calling SetHost after Clear(). r=mcmanus 2014-08-08 19:44:21 +03:00
Patrick McManus
a6dc4f8c2c bug 1050598 - test for proxy_over_tls pref and https proxying r=hurley
--HG--
extra : rebase_source : 27e7e50586e4a9778299912ce45858b0df873bbd
2014-08-06 17:23:18 -04:00
Patrick McManus
4ac7801522 bug 1050598 - thread local jit context for pac instead of global r=hurley
--HG--
extra : rebase_source : a6f94aec59fdfafef5edc7770f7941a6a55c1923
2014-08-07 11:38:41 -04:00
Patrick McManus
f63232ca9e bug 1050598 - changing the pac uri should be synchronous r=hurley
--HG--
extra : rebase_source : 15cbe1d0b6c0aa966d217d7a3c64f2295eedb923
2014-08-06 17:16:32 -04:00
Nathan Froyd
559ecb3f15 Bug 1050433 - part 2 - move TK_CFLAGS inclusion into moz.build; r=mshal 2014-08-07 14:46:58 -04:00
Nathan Froyd
8cad4e2ab5 Bug 1050433 - part 1 - move effective_tld_names.dat into xpcshell manifest declarations; r=mshal 2014-08-07 14:46:15 -04:00
Patrick McManus
f80b31d13e bug 1050598 - fix proxy_over_tls pref r=hurley
--HG--
extra : rebase_source : 33517c42a9966930fd68912bf1c7a7b6fb4c2bb7
2014-07-30 12:02:00 -04:00
Valentin Gosu
57c966fb5b Bug 1009648: Fix windows crash when removing from linked list r=mcmanus 2014-08-09 06:59:00 +03:00
Valentin Gosu
e32bd146bf Bug 1009648: nsStandardURL crashes when calling SetHost after Clear() r=mcmanus 2014-08-11 12:14:03 +03:00