[X2Go-Commits] [nx-libs] 01/01: nxcomp: Reduce control->TokenSize slightly again in order to fix fragmentation of packages when on VPN (or otherwise encapsulated) connections.

git-admin at x2go.org git-admin at x2go.org
Tue Oct 10 10:57:56 CEST 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository nx-libs.

commit e73464e4f1dcef8025226c7df47cc8b579c16f28
Author: Simon Matter <simon.matter at invoca.ch>
Date:   Tue Oct 10 10:53:31 2017 +0200

    nxcomp: Reduce control->TokenSize slightly again in order to fix fragmentation of packages when on VPN (or otherwise encapsulated) connections.
    
    Backported from Arctica GH 3.6.x branch.
    
    v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
    
    Adds:
      - debian/patches/1301_nxcomp_Reduce-TokenSize-slightly-for.full+lite.patch
---
 debian/changelog                                   |  9 ++++++
 ...p_Reduce-TokenSize-slightly-for.full+lite.patch | 34 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index bd0f8ff..820dacd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -77,6 +77,15 @@ nx-libs (2:3.5.0.33-0x2go1) UNRELEASED; urgency=low
     Adds:
     - debian/patches/1400_nx-X11_Render.c-Improve-situation-fo.full+lite.patch
 
+  [ Simon Matter ]
+  * nxcomp: Reduce control->TokenSize slightly again in order to fix
+    fragmentation of packages when on VPN (or otherwise encapsulated)
+    connections.
+    Backported from Arctica GH 3.6.x branch.
+    v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
+    Adds:
+    - debian/patches/1301_nxcomp_Reduce-TokenSize-slightly-for.full+lite.patch
+
  -- X2Go Release Manager <git-admin at x2go.org>  Sat, 04 Jul 2015 06:29:19 +0200
 
 nx-libs (2:3.5.0.32-0x2go1) unstable; urgency=low
diff --git a/debian/patches/1301_nxcomp_Reduce-TokenSize-slightly-for.full+lite.patch b/debian/patches/1301_nxcomp_Reduce-TokenSize-slightly-for.full+lite.patch
new file mode 100644
index 0000000..aceea8f
--- /dev/null
+++ b/debian/patches/1301_nxcomp_Reduce-TokenSize-slightly-for.full+lite.patch
@@ -0,0 +1,34 @@
+From 418db3b5ce28bcc5b1d00d7444041ea2d6592706 Mon Sep 17 00:00:00 2001
+From: Simon Matter <simon.matter at invoca.ch>
+Date: Mon, 9 Oct 2017 11:30:02 +0200
+Subject: [PATCH] nxcomp/src/Loop.cpp: Reduce control->TokenSize slightly again
+ in order to fix fragmentation of packages when on VPN (or otherwise
+ encapsulated) connections.
+
+ Backported from Arctica GH 3.6.x branch.
+
+ v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
+---
+ nxcomp/src/Loop.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/nxcomp/Loop.cpp
++++ b/nxcomp/Loop.cpp
+@@ -13017,7 +13017,7 @@ int SetLinkAdsl()
+ 
+   control -> LinkMode = LINK_TYPE_ADSL;
+ 
+-  control -> TokenSize  = 1536;
++  control -> TokenSize  = 1408;
+   control -> TokenLimit = 24;
+ 
+   control -> SplitMode             = 1;
+@@ -13047,7 +13047,7 @@ int SetLinkWan()
+ 
+   control -> LinkMode = LINK_TYPE_WAN;
+ 
+-  control -> TokenSize  = 1536;
++  control -> TokenSize  = 1408;
+   control -> TokenLimit = 24;
+ 
+   control -> SplitMode             = 1;

--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list