Bug 1431738 - We will disable TFO on late beta and release. r=jduell
authorDragana Damjanovic dd.mozilla@gmail.com
Fri, 19 Jan 2018 05:57:00 +0200
changeset 400398 bf09b4d00654009d098cbb749a756789dde59dfb
parent 400397 467d285e001c568039af5e3e067cff11c7ac43cf
child 400399 d246d499d9a596392d7a793e8d8033fd52ee2dd6
push id33303
push userdluca@mozilla.com
push dateTue, 23 Jan 2018 17:46:48 +0000
treeherdermozilla-central@f8bfe4e97254 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjduell
bugs1431738
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1431738 - We will disable TFO on late beta and release. r=jduell
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4820,21 +4820,24 @@ pref("network.tcp.keepalive.idle_time", 
 pref("network.tcp.keepalive.retry_interval", 1); // seconds
 #endif
 // Default maximum probe retransmissions.
 // Linux only; not configurable on Win and Mac; fixed at 10 and 8 respectively.
 #if defined(XP_UNIX) && !defined(XP_MACOSX)
 pref("network.tcp.keepalive.probe_count", 4);
 #endif
 
-#if defined(XP_WIN) || defined(XP_MACOSX)
+#if !defined(EARLY_BETA_OR_EARLIER)
+pref("network.tcp.tcp_fastopen_enable", false);
+#elif  defined(XP_WIN) || defined(XP_MACOSX)
 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).
 // This is only happening if a connection is idle for more than 10s, but we
 // will make this a pref. If tcp_fastopen_http_stalls_limit of stalls are
 // detected the TCP fast open will be disabled.
 // If tcp_fastopen_http_check_for_stalls_only_if_idle_for is set to 0 the
 // check will not be performed.