Commit Graph

743 Commits

Author SHA1 Message Date
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
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
Steve Workman
2f4a61e5cb Bug 1070966 - Change WrapRunnableNM to NS_NewRunnableMethodWithArg r=mcmanus 2014-09-24 09:56:13 -07:00
Ed Morley
0b6dc6427d Backed out changeset 89d06d103c10 (bug 939318) for Valgrind failures; CLOSED TREE 2014-09-24 16:17:57 +01: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
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
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
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
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
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
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
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
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
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
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
Nicholas Nethercote
a7cf4142b4 Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Andrew McCreight
228d194059 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Gervase Markham
5990baaf11 Bug 1045295 - Update PSL with new TLD additions for TLDs contracted with ICANN from 06/05/2014 - 07/24/2014. r=gerv 2014-08-05 11:00:00 -04:00
Ehsan Akhgari
0403683a4f Bug 1047782 - Fix some bad impliciit constructors in netwerk/; r=mcmanus 2014-08-05 09:20:50 -04:00
Ehsan Akhgari
748c8aca19 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Byron Campen [:bwc]
272d9b26ec Bug 963524 - Avoid setting SO_REUSEADDR when binding a UDP socket to port 0, since the linux kernel might select an already open port. r=mcmanus 2014-07-30 15:02:58 -07:00
Patrick McManus
7b3d6bf83d Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Byron Campen [:bwc]
56c34f115a Bug 1042873: Add the appropriate byte-order conversion to ChildDNSRecord::GetNextAddr r=mcmanus 2014-07-23 11:48:05 -07:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Steve Workman
111df17ab2 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Birunthan Mohanathas
fed231c37c Bug 1039653 - Remove unused nsIDNSRequest.idl. r=mcmanus 2014-07-16 12:02:34 -07:00
Gijs Kruitbosch
4f7edd8671 Bug 693808 - part 0: add function decorator to nsIDNSListener, r=bsmedberg 2014-07-11 23:55:17 +01:00
Valentin Gosu
fef5dffe51 Bug 1026022 - Check that string is UTF8. r=mcmanus 2014-07-02 19:12:19 +03:00
Nicu Badescu
6c4361b20f Bug 1026656 - Fix resolve accessing temporary variable. r=valentin.gosu, r=mcmanus 2014-06-22 15:55:00 -04:00
Benoit Jacob
ff32bb14c1 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Nicholas Nethercote
aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Gervase Markham
12fa73157c Bug 1024514 - Add more new gTLD PSL entries. r=gerv 2014-06-12 07:56:00 -04:00
Chris Raynor
d8ab900fda Bug 962360 - Add firebaseapp.com to the PSL. r=gerv 2014-06-11 06:21:00 -04:00
Gavin Brown
52cae0cede Bug 1006570 - Add com.se to the PSL. r=gerv 2014-06-11 06:23:00 -04:00
Gervase Markham
8548e8dd88 Bug 981927 - Update public suffix list for .cm. r=gerv 2014-06-12 07:38:00 -04:00
Gervase Markham
d46e10602a Bug 985495 - Add nfshost.com to PSL. r=gerv 2014-06-12 07:31:00 -04:00
Michael Daly
907b61b107 Bug 1015214 - Update PSL for .uk. r=gerv 2014-06-12 06:53:00 -04:00
Gervase Markham
a1a3a568c4 Bug 969471 - Remove csiro.au from PSL (again, and finally). r=gerv 2014-06-10 08:57:00 -04:00
Gervase Markham
a611654fea Bug 984824 - Remove act.gov.au from the PSL. r=gerv 2014-06-10 08:56:00 -04:00
Gervase Markham
d9ae2c4530 Bug 990543 - Add 2nd level IDN ccTLDs for .срб (.srb). r=gerv 2014-06-10 08:52:00 -04:00