aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src
diff options
context:
space:
mode:
authorSimon Matter <simon.matter@invoca.ch>2017-10-09 11:30:02 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-09 21:58:02 +0200
commit418db3b5ce28bcc5b1d00d7444041ea2d6592706 (patch)
treeab6c175dc49d029684d1523982fdc64f58c4fb9d /nxcomp/src
parent27c14b4eb3e42e1da2a3954393507b1ea4614462 (diff)
downloadnx-libs-418db3b5ce28bcc5b1d00d7444041ea2d6592706.tar.gz
nx-libs-418db3b5ce28bcc5b1d00d7444041ea2d6592706.tar.bz2
nx-libs-418db3b5ce28bcc5b1d00d7444041ea2d6592706.zip
nxcomp/src/Loop.cpp: Reduce control->TokenSize slightly again in order to fix fragmentation of packages when on VPN (or otherwise encapsulated) connections.
Diffstat (limited to 'nxcomp/src')
-rw-r--r--nxcomp/src/Loop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp
index 9db757bba..f76c22dea 100644
--- a/nxcomp/src/Loop.cpp
+++ b/nxcomp/src/Loop.cpp
@@ -12937,7 +12937,7 @@ int SetLinkAdsl()
control -> LinkMode = LINK_TYPE_ADSL;
- control -> TokenSize = 1536;
+ control -> TokenSize = 1408;
control -> TokenLimit = 24;
control -> SplitMode = 1;
@@ -12967,7 +12967,7 @@ int SetLinkWan()
control -> LinkMode = LINK_TYPE_WAN;
- control -> TokenSize = 1536;
+ control -> TokenSize = 1408;
control -> TokenLimit = 24;
control -> SplitMode = 1;