From 5758188467194aa04ad854b77167ec360bdac463 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Mon, 30 Jun 2008 13:10:26 +0000 Subject: 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 --- libssh/channels.c | 5 +++-- 1 file 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 -- cgit v1.2.3