зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 9f21beac8249 (bug 1678614) for perma failures on test_trr.js. CLOSED TREE
This commit is contained in:
Родитель
025ffb9f0a
Коммит
4d4d4b50d0
|
@ -1944,11 +1944,6 @@ bool nsSocketTransport::RecoverFromError() {
|
|||
mNetAddr.inet6.ip.u64[1] == 0))) {
|
||||
SOCKET_LOG((" TRR returned 0.0.0.0 and there are no other IPs"));
|
||||
} else if (trrEnabled) {
|
||||
nsCOMPtr<nsIDNSService> dns = do_GetService(kDNSServiceCID);
|
||||
uint32_t trrMode = 0;
|
||||
// If current trr mode is trr only, we should not retry.
|
||||
if (dns && NS_SUCCEEDED(dns->GetCurrentTrrMode(&trrMode)) &&
|
||||
trrMode != 3) {
|
||||
// Drop state to closed. This will trigger a new round of
|
||||
// DNS resolving. Bypass the cache this time since the
|
||||
// cached data came from TRR and failed already!
|
||||
|
@ -1960,7 +1955,6 @@ bool nsSocketTransport::RecoverFromError() {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// prepare to try again.
|
||||
if (tryAgain) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче