Francois Gouget : testbot/TestAgent: Enable libssh2 compression.
Alexandre Julliard
julliard at winehq.org
Wed Mar 13 14:04:26 CDT 2013
Module: tools
Branch: master
Commit: b64151902405857b6a193e60782872470c482e96
URL: http://source.winehq.org/git/tools.git/?a=commit;h=b64151902405857b6a193e60782872470c482e96
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Mar 13 15:33:51 2013 +0100
testbot/TestAgent: Enable libssh2 compression.
---
testbot/lib/WineTestBot/TestAgent.pm | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/testbot/lib/WineTestBot/TestAgent.pm b/testbot/lib/WineTestBot/TestAgent.pm
index f3d5f0a..2b834f7 100644
--- a/testbot/lib/WineTestBot/TestAgent.pm
+++ b/testbot/lib/WineTestBot/TestAgent.pm
@@ -858,6 +858,11 @@ sub _Connect($)
require Net::SSH2;
$self->{ssh} = Net::SSH2->new();
$self->{ssh}->debug(1) if ($Debug > 1);
+
+ # Set up compression
+ $self->{ssh}->method('COMP_CS', 'zlib', 'none');
+ $self->{ssh}->method('COMP_SC', 'zlib', 'none');
+
if (!$self->{ssh}->connect($self->{sshfd}))
{
$self->_SetError($FATAL, "Unable to connect to the SSH server: " . $self->_ssherror());
More information about the wine-cvs
mailing list