Default disable TCP keep alive

This commit is contained in:
M66B
2020-11-08 22:17:08 +01:00
parent 975bfa6213
commit 25cb978f99
3 changed files with 2 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ public class ApplicationEx extends Application implements SharedPreferences.OnSh
final boolean crash_reports = prefs.getBoolean("crash_reports", false);
try {
boolean tcp_keep_alive = prefs.getBoolean("tcp_keep_alive", true);
boolean tcp_keep_alive = prefs.getBoolean("tcp_keep_alive", false);
System.setProperty("fairemail.tcp_keep_alive", Boolean.toString(tcp_keep_alive));
} catch (Throwable ex) {
Log.e(ex);