gecko-dev/netwerk
Valentin Gosu 269fbdbecf Bug 1518730 - Wait for both A and AAAA responses to come back before notifying the listeners r=dragana
This way we preserve the behaviour of getaddrinfo, where both A and AAAA
responses come back at the same time.
Without this Firefox will always be biased, as the first request will usually
be resolved first. So if we requested IPv4 first, we'd mostly be using IPv4.
If we requested IPv6 first, normally we'll wait for the IPv4 response to come
back too, which is functionally equivalent to the new behaviour.
However, if the pref is set network.trr.early-AAAA;true then we'd use the IPv6
response immediately, possibly leading to a failed request if the IPv6
connection fails before we have an IPv4 address to fall back to.

A test for this patch was added in bug 1542561.

Depends on D33476

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

--HG--
extra : moz-landing-system : lando
2019-06-03 21:13:22 +00:00
..
base Bug 1518730 - Disable TRR for connectivity checks r=dragana 2019-06-03 21:17:57 +00:00
build Bug 1536744 - Add nsResProtocolHandler::GetSingleton() r=baku 2019-05-28 13:46:17 +00:00
cache Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
cache2 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
cookie Bug 1553867 - Reduce the number of ClonePrincipalForPermission() call in CookieSettings, r=Ehsan 2019-06-03 11:14:38 +00:00
dns Bug 1518730 - Wait for both A and AAAA responses to come back before notifying the listeners r=dragana 2019-06-03 21:13:22 +00:00
ipc Bug 1554377 - Cleanup nsCookie implementation - simpler nsCookie, r=Ehsan 2019-05-31 09:31:47 +00:00
locales Bug 1523249, r=valentin 2019-01-30 11:39:42 +00:00
mime Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
protocol Backed out 4 changesets (bug 1554847) for wpt failures at /service-workers/service-worker/fetch-canvas-tainting-video-cache.https.html 2019-06-04 03:24:42 +03:00
sctp Bug 1551589: readyState fixes r=ng 2019-05-29 21:27:18 +00:00
socket Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
srtp
streamconv Bug 1436674 - nsICookieService.idl should use ACString XPIDL type in place of the string type, r=Ehsan 2019-05-31 09:36:44 +00:00
system Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
test Bug 1542561 - Test that a IPv4 NXDOMAIN still uses the IPv6 response, regardless which one comes back first r=dragana 2019-06-03 21:20:39 +00:00
url-classifier Bug 1548517 - Add hash for test entries added via HostInPrefTables. r=baku 2019-05-10 19:39:24 +00:00
wifi Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
moz.build Bug 1511436 - Cleanup URL-Classifier code - part 1 - nsIUrlClassifierFeature, r=dimi 2018-12-14 12:40:16 +01:00
necko-config.h.in