]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix `disconnect': arrange that we keep track of when we're expecting
authorSimon Tatham <anakin@pobox.com>
Tue, 11 Jan 2005 19:33:41 +0000 (19:33 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 11 Jan 2005 19:33:41 +0000 (19:33 +0000)
commitf3b5bddd320ab4ba160bc3a0cae8f4b9e1f6705f
treea808e51038f2e2185ab060edc637e3c78a146b6f
parent95368801d394c50596507bc663189831bfbc6c50
Fix `disconnect': arrange that we keep track of when we're expecting
to see the server slam the TCP connection shut (i.e. almost never,
unless it's just sent us an SSH_MSG_DISCONNECT), and treat an
unexpected closure as a non-clean session termination. Previously
any server-initiated connection closure was being treated as a clean
exit, which was a hangover from the good old Telnet-only days.

[originally from svn r5098]
[this svn revision also touched putty-wishlist]
ssh.c