simon-svn: putty: jacob

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sat May 21 17:49:28 BST 2005


SVN root:       svn://ixion.tartarus.org/main
Changes by:     jacob
Revision:       5824
Date:           2005-05-21 17:49:27 +0100 (Sat, 21 May 2005)

Log message (12 lines):
Factor out all local SSH disconnections into a new function ssh_disconnect(),
and add the ability to treat a local disconnection as "unclean" -- notably, if
we can't agree any authentication methods to even try; someone was complaining
that the PuTTY window by default just disappears for no apparent reason in this
circumstance.

Also, use appropriate disconnect codes for those SSH2_MSG_DISCONNECT messages
that we do send.

I don't think I've seriously broken any user-visible behaviour, but the way
that connection-close distinctions are transmitted to the front-end is shaky
(or so it seems to me), so there may be non-ideal changes on some platforms.

Modified files:
U   putty/ssh.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=5824&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/ssh.c?rev=5824&r1=5823&r2=5824



More information about the tartarus-commits mailing list