aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-06-30 13:10:26 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-06-30 13:10:26 +0000
commit5758188467194aa04ad854b77167ec360bdac463 (patch)
treeed83ab177d52b557581168d6f69a5df9873899ac
parentb8dac18d0e457e40f8a33bc72bd9242fe740fffe (diff)
downloadlibssh-5758188467194aa04ad854b77167ec360bdac463.tar.gz
libssh-5758188467194aa04ad854b77167ec360bdac463.tar.xz
libssh-5758188467194aa04ad854b77167ec360bdac463.zip
fix channel performance by changing the window len.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@179 7dcaeef0-15fb-0310-b436-a5af3365683c
-rw-r--r--libssh/channels.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index c019d0cd..3a03e236 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -26,8 +26,9 @@ MA 02111-1307, USA. */
#include "libssh/priv.h"
#include "libssh/ssh2.h"
-#define WINDOWLIMIT 2048
-#define WINDOWBASE 64000
+
+#define WINDOWBASE 128000
+#define WINDOWLIMIT (WINDOWBASE/2)
/** \defgroup ssh_channel SSH Channels
* \brief functions that manage a channel