gecko-dev/netwerk/dns
Daniel Stenberg e443c66c37 bug 1447642 - no more DNSService restarts r=valentin
The DNS service was shutdown and restarted again in several scenarios,
for example when one of its prefs changed and by nsIOService when going
offline/online. The DNSService restart dragged the resolver, TRRService
and others with it and they too were thus restarted.

Most notably this hurt TRR resolving, as the restart caused short gaps
in time when there was no TRRService available and nsHostResolver
defaults to TRR Mode "native" if there's no TRRservice up, causing the
name resolver to occasionally use the wrong or unexpected resolver even
though TRR is enabled.

The resolver restart also flushed the DNS cache which is now avoided.

It is also a performance gain.

MozReview-Commit-ID: pp4Y8bNQJk

--HG--
extra : rebase_source : 9e3b3e6c0df16b8ca6287d8045f594026ae9ad6d
2018-03-21 14:35:53 +01:00
..
mdns Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
ChildDNSService.cpp Bug 1443613 - don't allocate temporary strings for DNSRequestChild; r=mayhemer 2018-03-07 12:22:03 -05:00
ChildDNSService.h Bug 1409249: Require singleton constructors to return explicit already_AddRefed. r=froydnj 2017-10-16 21:08:42 -07:00
DNS.cpp bug 1446749 - make resolver keep TRR status when cherry-picking adddresses r=mcmanus 2018-03-18 15:39:56 +01:00
DNS.h bug 1446749 - make resolver keep TRR status when cherry-picking adddresses r=mcmanus 2018-03-18 15:39:56 +01:00
DNSListenerProxy.cpp
DNSListenerProxy.h Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm 2017-06-14 09:27:17 +08:00
DNSRequestChild.cpp Bug 1443613 - don't allocate temporary strings for DNSRequestChild; r=mayhemer 2018-03-07 12:22:03 -05:00
DNSRequestChild.h Bug 1443613 - don't allocate temporary strings for DNSRequestChild; r=mayhemer 2018-03-07 12:22:03 -05:00
DNSRequestParent.cpp Bug 1365101 - Convert NS_GetCurrentThread uses in netwerk/ (r=meyhemer) 2017-06-12 20:21:43 -07:00
DNSRequestParent.h Bug 1337893 - Part 2: Making the DNS cache be aware of originAttributes. r=valentin 2017-02-14 12:25:35 +08:00
GetAddrInfo.cpp bug 1434852 - introducing TRR (DOH); r=mcmanus,valentin 2018-02-01 10:20:49 +01:00
GetAddrInfo.h bug 1434852 - introducing TRR (DOH); r=mcmanus,valentin 2018-02-01 10:20:49 +01:00
PDNSParams.h
PDNSRequest.ipdl Bug 1337893 - Part 1: Updating idl and ipdl files of DNS to make them originAttributes aware. r=valentin 2017-02-15 11:53:37 +08:00
PDNSRequestParams.ipdlh
TRR.cpp bug 1441391 - TRR: restart failed NS confirms in TRR-only mode r=valentin 2018-03-09 09:05:48 +01:00
TRR.h bug 1439067 - let TRR access TRRService through the null-checked global. r=valentin 2018-02-19 22:54:14 +01:00
TRRService.cpp bug 1446352 TRR: make "only mode" not wait for CP confirmation r=mcmanus 2018-03-17 19:56:12 +01:00
TRRService.h bug 1444858 - TRR: respect network.dns.disableIPv6 r=valentin 2018-03-12 13:19:22 +01:00
effective_tld_names.dat Bug 1415870 - Update psl list and related tests. r=gerv 2017-11-15 12:35:07 +00:00
moz.build bug 1434852 - introducing TRR (DOH); r=mcmanus,valentin 2018-02-01 10:20:49 +01:00
nsDNSService2.cpp bug 1447642 - no more DNSService restarts r=valentin 2018-03-21 14:35:53 +01:00
nsDNSService2.h bug 1447642 - no more DNSService restarts r=valentin 2018-03-21 14:35:53 +01:00
nsEffectiveTLDService.cpp Bug 1396958 - Make eTLD cache thread-safe. r=valentin 2017-09-05 12:26:51 -07:00
nsEffectiveTLDService.h Bug 1380154 - Part 3: Cache most recently used eTLD entries. r=njn, r=jduell 2017-08-08 12:21:10 -07:00
nsHostResolver.cpp bug 1447642 - no more DNSService restarts r=valentin 2018-03-21 14:35:53 +01:00
nsHostResolver.h bug 1447642 - no more DNSService restarts r=valentin 2018-03-21 14:35:53 +01:00
nsIDNKitInterface.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsIDNSListener.idl
nsIDNSRecord.idl bug 1434852 - introducing TRR (DOH); r=mcmanus,valentin 2018-02-01 10:20:49 +01:00
nsIDNSService.idl bug 1441256 - bypass cache when retrying connection without TRR r=mcmanus,valentin 2018-03-06 14:50:21 +01:00
nsIDNService.cpp Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian. 2017-11-10 09:07:48 +11:00
nsIDNService.h Bug 1402048 - Remove the legacy non-IDNA2008 code path from nsIDNService, now that we always require ICU to build. r=valentin 2017-09-22 19:25:50 +01:00
nsIEffectiveTLDService.idl
nsIIDNService.idl
nsPIDNSService.idl
prepare_tlds.py Bug 1380154 - Part 2: Generate a DAFSA and use it for eTLDs. r=jduell 2017-07-17 16:10:18 -07:00
punycode.c
punycode.h