changeset 492:e88d48be89a8

add TCP_NODELAY to the monitor socket
author Carl Byington <carl@five-ten-sg.com>
date Tue, 15 Feb 2022 13:45:57 -0800
parents c89833b1614b
children 0a17c6e7cb0f
files Makefile app/src/main/AndroidManifest.xml app/src/main/java/com/five_ten_sg/connectbot/service/TerminalMonitor.java
diffstat 3 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Oct 14 14:52:39 2020 -0700
+++ b/Makefile	Tue Feb 15 13:45:57 2022 -0800
@@ -126,3 +126,11 @@
 	#
 	make builder style=debug
 	hg revert --no-backup app/src/main/res/values/version.xml
+
+#
+# release procedure
+# make any changes
+#
+# make prep
+# hg commit -m 'commit message'
+# make build.asm.packages
--- a/app/src/main/AndroidManifest.xml	Wed Oct 14 14:52:39 2020 -0700
+++ b/app/src/main/AndroidManifest.xml	Tue Feb 15 13:45:57 2022 -0800
@@ -17,8 +17,8 @@
 -->
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 	package="com.five_ten_sg.connectbot"
-	android:versionName="1.9.4-2"
-	android:versionCode="1942"
+	android:versionName="1.9.4-3"
+	android:versionCode="1943"
 	android:installLocation="auto">
 
     <!--  permissions must match HostListActivity.java -->
--- a/app/src/main/java/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Wed Oct 14 14:52:39 2020 -0700
+++ b/app/src/main/java/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Tue Feb 15 13:45:57 2022 -0800
@@ -209,6 +209,7 @@
                 }
                 if (monitor_socket != null) {
                     Log.i(TAG, "connected to monitor socket, send init " + init);
+                    monitor_socket.setTcpNoDelay(true);
                     monitor_in     = monitor_socket.getInputStream();
                     monitor_out    = monitor_socket.getOutputStream();
                     monitor_reader = new MyReader(monitor_in);