[X2go-Commits] x2goclient.git - master (branch) updated: 3.99.0.0-8-g2e71dcb
X2go dev team
git-admin at x2go.org
Mon Sep 19 14:52:39 CEST 2011
The branch, master has been updated
via 2e71dcbfdc8647bb432018050ef703ea8f36808e (commit)
from a838f81224a278fb1b01a6f3e200860436bdb760 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2e71dcbfdc8647bb432018050ef703ea8f36808e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Sep 19 14:52:31 2011 +0200
Set TCP_NODELAY (equals: turn Nagle off) for SSH graphical port forwarding tunnel.
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 4 +++-
sshprocess.cpp | 1 +
2 files changed, 4 insertions(+), 1 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 48de32c..c275e66 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
-x2goclient (3.99.0.0-0~x2go2) UNRELEASED; urgency=low
+x2goclient (3.99.0.1-0~x2go1) UNRELEASED; urgency=low
* Explicitly use source format 3.0 (native).
* Build-depend on libssh-dev (>=0.4.7).
+ * Set TCP_NODELAY (equals: turn Nagle off) for SSH graphical port forwarding
+ tunnel.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Tue, 26 Jul 2011 14:37:20 +0200
diff --git a/sshprocess.cpp b/sshprocess.cpp
index 9e72e8f..03ee9b6 100644
--- a/sshprocess.cpp
+++ b/sshprocess.cpp
@@ -88,6 +88,7 @@ void SshProcess::tunnelLoop()
const char y=1;
#endif
setsockopt(serverSocket, SOL_SOCKET, SO_REUSEADDR,&y, sizeof(int));
+ setsockopt(serverSocket, IPPROTO_TCP, TCP_NODELAY,&y, sizeof(int));
address.sin_family=AF_INET;
address.sin_addr.s_addr=INADDR_ANY;
hooks/post-receive
--
x2goclient.git (X2go Client)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goclient.git" (X2go Client).
More information about the x2go-commits
mailing list