Bug 1431738 - We will disable TFO on late beta and release. r=jduell a=lizzard
authorDragana Damjanovic dd.mozilla@gmail.com
Fri, 19 Jan 2018 05:57:00 +0200
changeset 454707 13c900643140bfe187f1f5cdd941ee4c9b1b54bc
parent 454706 fb10c0f561b34bcb31397f50338066ef1f34cfe7
child 454708 a40559a7c596616bde26964fe781cef6031f687f
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjduell, lizzard
bugs1431738
milestone59.0
Bug 1431738 - We will disable TFO on late beta and release. r=jduell a=lizzard
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4812,21 +4812,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.