зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1452028
- Bring back network.http.fast-fallback-to-IPv4 preference, regression from bug 1430659. r=valentin
--HG-- extra : rebase_source : a33a72e2117f94aeb101eac8cd2b560fadfaae85
This commit is contained in:
Родитель
a212766c28
Коммит
7488001940
|
@ -4087,7 +4087,7 @@ nsHalfOpenSocket::SetupStreams(nsISocketTransport **transport,
|
||||||
socketTransport->SetTimeout(nsISocketTransport::TIMEOUT_CONNECT,
|
socketTransport->SetTimeout(nsISocketTransport::TIMEOUT_CONNECT,
|
||||||
fallbackTimeout);
|
fallbackTimeout);
|
||||||
}
|
}
|
||||||
} else if (isBackup) {
|
} else if (isBackup && gHttpHandler->FastFallbackToIPv4()) {
|
||||||
// For backup connections, we disable IPv6. That's because some users have
|
// For backup connections, we disable IPv6. That's because some users have
|
||||||
// broken IPv6 connectivity (leading to very long timeouts), and disabling
|
// broken IPv6 connectivity (leading to very long timeouts), and disabling
|
||||||
// IPv6 on the backup connection gives them a much better user experience
|
// IPv6 on the backup connection gives them a much better user experience
|
||||||
|
|
Загрузка…
Ссылка в новой задаче