Differences From Artifact [3eecbbd9d0]:
- File ssh.c — part of check-in [39b5dda1d1] at 2000-10-06 06:42:30 on branch trunk — Tighten up use of "static" throughout. Module-internal things should NOT be exported willy-nilly. It encourages people to use them. (user: simon size: 85573)
To Artifact [b4be75961d]:
- File ssh.c — part of check-in [dacc5f4049] at 2000-10-09 07:53:32 on branch trunk — 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 (user: simon size: 85843)
| ︙ | ︙ | |||
2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 |
send_packet(SSH1_CMSG_EOF, PKT_END);
} else {
ssh2_pkt_init(SSH2_MSG_CHANNEL_EOF);
ssh2_pkt_adduint32(mainchan->remoteid);
ssh2_pkt_send();
}
logevent("Sent EOF message");
} else {
/* do nothing */
}
}
static SOCKET ssh_socket(void) { return s; }
| > > > > > > > > | 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 |
send_packet(SSH1_CMSG_EOF, PKT_END);
} else {
ssh2_pkt_init(SSH2_MSG_CHANNEL_EOF);
ssh2_pkt_adduint32(mainchan->remoteid);
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 */
}
}
static SOCKET ssh_socket(void) { return s; }
|
| ︙ | ︙ |