mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 17:47:33 -05:00
Robert de Bath's big patch:
- cope with strange WinSock wrappers not supporting SIOCATMARK - define yet more terminal compatibility modes - support UK-ASCII (just like US-ASCII but # is a sterling sign) - support connection keepalives at a configurable interval [originally from svn r692]
This commit is contained in:
8
ssh.c
8
ssh.c
@ -2611,6 +2611,14 @@ static void ssh_special (Telnet_Special code) {
|
||||
ssh2_pkt_send();
|
||||
}
|
||||
logevent("Sent EOF message");
|
||||
} else if (code == TS_PING) {
|
||||
if (ssh_version == 1) {
|
||||
send_packet(SSH1_MSG_IGNORE, PKT_STR, "", PKT_END);
|
||||
} else {
|
||||
ssh2_pkt_init(SSH2_MSG_IGNORE);
|
||||
ssh2_pkt_addstring_start();
|
||||
ssh2_pkt_send();
|
||||
}
|
||||
} else {
|
||||
/* do nothing */
|
||||
}
|
||||
|
Reference in New Issue
Block a user