Patch enable-compression.patch for ssh2 Bug #63529
Patch version 2012-11-15 16:04 UTC
Return to Bug #63529 |
Download this patch
Patch Revisions:
Developer: trevor@blubolt.com
Index: php-ssh2-0.11.3/ssh2-0.11.3/ssh2.c
===================================================================
--- php-ssh2-0.11.3.orig/ssh2-0.11.3/ssh2.c 2012-11-15 15:05:04.965196000 +0000
+++ php-ssh2-0.11.3/ssh2-0.11.3/ssh2.c 2012-11-15 15:06:13.997196509 +0000
@@ -362,6 +362,9 @@
}
libssh2_banner_set(session, LIBSSH2_SSH_DEFAULT_BANNER " PHP");
+ /* Enable compression */
+ libssh2_session_flag(session, LIBSSH2_FLAG_COMPRESS, 1);
+
/* Override method preferences */
if (methods) {
zval **container;
|