зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1426367 - Turn on TFO for Windows. r=hurley
This commit is contained in:
Родитель
66a1074054
Коммит
93626c6bec
|
@ -4782,7 +4782,11 @@ pref("network.tcp.keepalive.retry_interval", 1); // seconds
|
|||
pref("network.tcp.keepalive.probe_count", 4);
|
||||
#endif
|
||||
|
||||
#if defined(XP_WIN)
|
||||
pref("network.tcp.tcp_fastopen_enable", true);
|
||||
#else
|
||||
pref("network.tcp.tcp_fastopen_enable", false);
|
||||
#endif
|
||||
pref("network.tcp.tcp_fastopen_consecutive_failure_limit", 5);
|
||||
// We are trying to detect stalled tcp connections that use TFO and TLS
|
||||
// (bug 1395494).
|
||||
|
|
|
@ -4584,7 +4584,6 @@ nsHalfOpenSocket::SetFastOpenConnected(nsresult aError, bool aWillRetry)
|
|||
mConnectionNegotiatingFastOpen = nullptr;
|
||||
if (mEnt) {
|
||||
mEnt->mDoNotDestroy = false;
|
||||
MOZ_ASSERT(mEnt->mHalfOpens.Contains(this));
|
||||
} else {
|
||||
MOZ_ASSERT(!mSynTimer);
|
||||
MOZ_ASSERT(!mBackupTransport);
|
||||
|
|
Загрузка…
Ссылка в новой задаче