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:
Honza Bambas 2018-04-13 10:04:00 -04:00
Родитель a212766c28
Коммит 7488001940
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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