1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 19:42:48 -05:00

Implement Zlib compression, in both SSH1 and SSH2.

[originally from svn r792]
This commit is contained in:
Simon Tatham
2000-11-01 21:34:21 +00:00
parent 84077ea5ee
commit 462063cdc5
8 changed files with 1212 additions and 31 deletions

View File

@ -66,6 +66,7 @@ void save_settings (char *section, int do_host, Config *cfg) {
}
write_setting_s (sesskey, "UserName", cfg->username);
write_setting_i (sesskey, "NoPTY", cfg->nopty);
write_setting_i (sesskey, "Compression", cfg->compression);
write_setting_i (sesskey, "AgentFwd", cfg->agentfwd);
write_setting_s (sesskey, "RemoteCmd", cfg->remote_cmd);
write_setting_s (sesskey, "Cipher", cfg->cipher == CIPHER_BLOWFISH ? "blowfish" :
@ -186,6 +187,7 @@ void load_settings (char *section, int do_host, Config *cfg) {
}
gpps (sesskey, "UserName", "", cfg->username, sizeof(cfg->username));
gppi (sesskey, "NoPTY", 0, &cfg->nopty);
gppi (sesskey, "Compression", 0, &cfg->compression);
gppi (sesskey, "AgentFwd", 0, &cfg->agentfwd);
gpps (sesskey, "RemoteCmd", "", cfg->remote_cmd, sizeof(cfg->remote_cmd));
{