gecko-dev/netwerk/dns
Valentin Gosu 2808b0a1c5 Bug 1580740 - Don't use TRR when calling nsDNSService::DeprecatedSyncResolve on the main thread r=dragana
`nsAuthSSPI` makes a call to `DeprecatedSyncResolve` that normally issues a DNS
request and blocks until that completes. Apart from being a problem in general
this is an issue when using TRR, because the HTTPS channel to the DoH server
uses the main thread. When `DeprecatedSyncResolve` gets called on the main
thread it then blocks the thread, and since the TRR request never has the
chance to complete (even the TRR cancellation when the timer expires is
processed on the main thread) the result is a deadlock.

This structural problem should be fixed, but until that happens we should
set the `RESOLVE_DISABLE_TRR` flag when calling `ResolveHost` from
`nsDNSService::DeprecatedSyncResolve`

Differential Revision: https://phabricator.services.mozilla.com/D57214

--HG--
extra : moz-landing-system : lando
2019-12-16 12:33:57 +00:00
..
mdns Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
tests Bug 1582647 - Pref off the "public-suffix-list-updated" event r=Gijs 2019-11-28 12:16:19 +00:00
ChildDNSService.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
ChildDNSService.h
DNS.cpp Bug 1399803 - Consider all IPv4 loopback addresses as secure context; r=bzbarsky,dragana 2019-08-30 07:57:34 +00:00
DNS.h Bug 1399803 - Consider all IPv4 loopback addresses as secure context; r=bzbarsky,dragana 2019-08-30 07:57:34 +00:00
DNSListenerProxy.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
DNSListenerProxy.h
DNSRequestChild.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
DNSRequestChild.h Bug 1600678 - Use IPDL refcounted for DNSRequest r=valentin 2019-12-02 18:28:49 +00:00
DNSRequestParent.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
DNSRequestParent.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
effective_tld_names.dat No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-12-12 15:32:17 +00:00
GetAddrInfo.cpp
GetAddrInfo.h
IDNBlocklistUtils.cpp
IDNBlocklistUtils.h
IDNCharacterBlocklist.inc
moz.build Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal 2019-10-07 21:15:19 +00:00
nsDNSService2.cpp Bug 1580740 - Don't use TRR when calling nsDNSService::DeprecatedSyncResolve on the main thread r=dragana 2019-12-16 12:33:57 +00:00
nsDNSService2.h
nsEffectiveTLDService.cpp Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden 2019-09-18 08:26:34 +00:00
nsEffectiveTLDService.h
nsHostResolver.cpp Bug 1597137 - Don't load TRR entries from the cache if they are part of the excluded list. r=dragana 2019-11-21 10:02:33 +00:00
nsHostResolver.h Backed out 6 changesets (bug 1552176) for causing Hazard bustages CLOSED TREE 2019-11-11 12:11:36 +02:00
nsIDNKitInterface.h
nsIDNSByTypeRecord.idl
nsIDNService.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsIDNService.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsIDNSListener.idl
nsIDNSRecord.idl
nsIDNSService.idl Backed out 6 changesets (bug 1552176) for causing Hazard bustages CLOSED TREE 2019-11-11 12:11:36 +02:00
nsIEffectiveTLDService.idl
nsIIDNService.idl
nsPIDNSService.idl
PDNSParams.h
PDNSRequest.ipdl Bug 1600678 - Use IPDL refcounted for DNSRequest r=valentin 2019-12-02 18:28:49 +00:00
PDNSRequestParams.ipdlh
prepare_tlds.py
PublicSuffixList.jsm Bug 1582647 - Pref off the "public-suffix-list-updated" event r=Gijs 2019-11-28 12:16:19 +00:00
punycode.c
punycode.h
TRR.cpp Bug 1543201 - DoH Privacy Enhancement: Do not set the User-Agent header for DoH requests r=dragana 2019-12-05 19:17:28 +00:00
TRR.h
TRRService.cpp Bug 1599816 - TRR: Make sure we recheck for VPNs on all relevant observer topics r=kershaw 2019-12-10 09:37:05 +00:00
TRRService.h Bug 1565008 - TRR: Check for Proxy on Windows to use platform DNS r=mayhemer 2019-11-24 14:54:02 +00:00