Commit Graph

82 Commits

Author SHA1 Message Date
Steve Workman
32c440d97e Bug 1084645 - Enable DNS TTL by default on Windows r=mcmanus 2014-10-20 10:26:33 -07:00
Steve Workman
43b0e6a90e Bug 1074789 - Adjust DNS renewal time telemetry to take TTL experiments into consideration r=mcmanus 2014-10-07 14:57:48 -07:00
Daniel Stenberg
db8385d8ec Bug 1077084 - improved DNS cache pruning. r=sworkman 2014-10-13 23:07:00 +02:00
Ehsan Akhgari
440fb4fe9a Bug 1080937 - Fix a clang-cl build error in nsHostResolver.cpp; r=sworkman 2014-10-11 09:41:51 -04:00
Eric Rahm
f6bb65afb3 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Wes Kocher
5d7f3c7007 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
baf96b6e07 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
Daniel Stenberg
19d039df28 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
e3ffd2b86d Bug 1070966 - Change WrapRunnableNM to NS_NewRunnableMethodWithArg r=mcmanus 2014-09-24 09:56:13 -07:00
Ed Morley
6c7b4f5958 Backed out changeset 89d06d103c10 (bug 939318) for Valgrind failures; CLOSED TREE 2014-09-24 16:17:57 +01:00
Daniel Stenberg
9b14e61d5f 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
John Sullivan
edc23b7817 Bug 1067679 - Call DnsQuery in addition to getaddrinfo to get DNS TTL on Windows r=sworkman 2014-09-20 15:10:18 -07:00
Patrick McManus
4a4d8db0c5 Bug 820391 - Backout revision 4741ef815af9 for various regressions.
DONTBUILD
2014-08-21 10:53:11 -04:00
Ryan VanderMeulen
d6ca1b3277 Backed out changeset 49502f43bd03 for landing with the wrong bug number. 2014-08-21 11:03:02 -04:00
Patrick McManus
4e6d326cde bug 820931 - backout 4741ef815af9 r=backout
--HG--
extra : rebase_source : d862e877dd3d28df5322b3464e3c0b10a460a56d
2014-08-21 10:53:11 -04:00
josullivan
4ecc0e4ae1 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
Patrick McManus
93c9394a56 bug 982565 - make dns ttl and grace period prefs respect 1s granularity r=sworkman 2014-03-09 06:01:56 -04:00
Nicholas Nethercote
82c6b4c5bc Bug 969902 - Fix a problem with DNS memory reporting measurement. r=sworkman.
--HG--
extra : rebase_source : a9fba2e21b2f9ecb267367a9006883d2bbd313e4
2014-03-10 15:44:35 -07:00
Patrick McManus
83c494cc00 bug 981513 - revert 807441 r=sworkman
--HG--
extra : rebase_source : d2c219fe01b6e4e0fdf25b920df0091039cf4c18
2014-03-09 11:00:18 -04:00
Nicholas Hurley
c68a1ad1ab Bug 957759 - Remove SRV experiment code (helps prevent crashes). r=mcmanus 2014-01-09 13:50:04 -08:00
Birunthan Mohanathas
c293ca84b8 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Nicholas Hurley
8963c3dc7a Bug 950888 - Check for null DNS results before using them. r=mcmanus 2013-12-19 12:54:47 -08:00
Jason Duell
cbec7de3de Bug 945066: remote nsIDNSService to child. r=jdm
* * *
bug 945066. Fix windows bustage.  r=jduell
2013-12-11 11:03:51 -08:00
Jason Duell
cda90b5536 Bug 942317. Bustage fix for windows r=bustage 2013-12-11 02:05:40 -08:00
Nicholas Hurley
8bf190eb1a Bug 942317 - An experiment to test how reachable SRV records are in the wild. r=mcmanus 2013-12-05 15:23:22 -08:00
Steve Workman
aeb5a8d45c Bug 938803 - Correct typo in nsHostResolver::ResolveHost for Bug 941884: 'he' to 'unspecHe' r=mcmanus 2013-11-25 14:58:29 -08:00
Nicholas Nethercote
bf145657e1 Bug 893857 (part 2) - Add a memory reporter for the DNS service. r=sworkman.
--HG--
extra : rebase_source : 7d88cf2ef5ad4b58b377f0cec66349b5e26bfc8e
2013-11-24 15:24:12 -08:00
Ehsan Akhgari
5a56056193 Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa 2013-11-24 01:29:24 -05:00
Steve Workman
7575943029 Bug 941884 - Add some null checks for nsHostRecords r=mcmanus 2013-11-22 11:15:52 -08:00
Steve Workman
7611429e43 Bug 941884 - Add negative DNS cache entries to the eviction queue r=mcmanus 2013-11-22 11:15:51 -08:00
Ehsan Akhgari
da9813f168 Follow-up to bug 941406 - Mark a variable as DebugOnly in order to shut up the compiler warning
Landed on a CLOSED TREE
2013-11-22 10:56:47 -05:00
Nathan Froyd
e035127d5b Bug 941598 - constify PLDHashTableOps in netwerk/; r=jduell 2013-11-20 13:17:01 -05:00
Steve Workman
eca4c3a18a Bug 938803 - Improve DNS debugs to show which path is taken in nsHostResolver::ResolveHost r=mcmanus 2013-11-21 13:35:44 -08:00
Birunthan Mohanathas
66861c6445 Bug 784739 - Switch from NULL to nullptr in netwerk/ (1/2); r=ehsan 2013-09-19 15:28:26 -04:00
Adrian Lungu
b3b751a66e Bug 882516 - Use AF_UNSPEC cached entries for AF_INET and AF_INET6 DNS requests, if possible. r=sworkman 2013-08-16 11:49:57 -07:00
Patrick McManus
b82b1b1a76 bug 887753 - server not found after reconnecting to etherpad r=sworkman 2013-07-19 18:40:00 -04:00
Ehsan Akhgari
81b0d336c3 Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Trevor Saunders
795144e55a bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel 2013-06-16 03:09:07 -04:00
Patrick McManus
beac071548 bug 857291 - fix 807678 regression of DNS::GetCanonicalName r=josh 2013-04-08 12:02:41 -04:00
Honza Bambas
edca9830f3 Bug 729182 - Implement visual event tracer, part1 - instrumentation, r=mcmanus,bz,ehsan,bsmedberg,michal 2013-03-28 18:38:04 +01:00
Josh Aas
bb680adf04 Bug 826238: Convert DNS expiration tracking to TimeStamp/TimeDuration. r=sworkman 2013-02-14 09:03:51 -06:00
Masatoshi Kimura
4cce0eb3d2 Bug 825501 - Remove IPv4 records manually because PR_GetAddrInfoByName dislike PR_AF_INET6. r=honzab 2013-01-25 08:30:12 +09:00
Josh Aas
8e5b01ba37 Bug 825275: Fix DNS cache enumerator crash. r=sworkman 2013-01-02 16:46:27 -05:00
Josh Aas
83a2fce361 Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman 2012-12-23 16:08:43 -05:00
Josh Aas
4ee3352aa8 Back out fix for bug 807678 again, cset ec4e88c2c77a. 2012-12-20 17:39:30 -05:00
Patrick McManus
203865e660 bug 807441 increase stickiness of dns choices r=josh 2012-12-20 15:51:11 -05:00
Josh Aas
9d2b4588bc Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman 2012-12-20 14:47:07 -05:00
Ed Morley
454859cbdb Backout 744b40b75241 (bug 807678) on suspicion of causing Win debug xpcshell timeouts on a CLOSED TREE 2012-12-14 13:00:19 +00:00
Josh Aas
5d86676184 Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman 2012-12-13 09:18:33 -05:00
Valentin Gosu
bd752af443 Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi 2012-12-10 09:13:55 -05:00