forked from pool/libssh
This commit is contained in:
committed by
Git OBS Bridge
parent
72d0c73f9e
commit
4a63a1c9ae
15
libssh_improve_performance.patch
Normal file
15
libssh_improve_performance.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
Index: libssh-0.2/libssh/channels.c
|
||||
===================================================================
|
||||
--- libssh-0.2.orig/libssh/channels.c
|
||||
+++ libssh-0.2/libssh/channels.c
|
||||
@@ -29,8 +29,8 @@ MA 02111-1307, USA. */
|
||||
|
||||
#include "libssh/priv.h"
|
||||
#include "libssh/ssh2.h"
|
||||
-#define WINDOWLIMIT 1024
|
||||
-#define WINDOWBASE 32000
|
||||
+#define WINDOWBASE 128000
|
||||
+#define WINDOWLIMIT (WINDOWBASE/2)
|
||||
|
||||
/** defgroup ssh_channel
|
||||
* \brief functions that manage a channel
|
||||
Reference in New Issue
Block a user