Added compression options and allow "yes/no" setting

SSH_OPTION_COMPRESSION and SSH_OPTION_COMPRESSION_LEVEL options have been added. Now, end-level apps may simply choose to enable compression without knowing the relevant algorithms behind it.
This commit is contained in:
Aris Adamantiadis
2010-12-27 23:28:39 +01:00
parent 32c0e1c99a
commit 4fa2e4dde1
6 changed files with 72 additions and 21 deletions

View File

@@ -138,6 +138,7 @@ struct ssh_session_struct {
char *sshdir;
char *knownhosts;
char *wanted_methods[10];
char compressionlevel;
unsigned long timeout; /* seconds */
unsigned long timeout_usec;
unsigned int port;