simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Tue Sep 13 16:38:12 BST 2011


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9282
Date:           2011-09-13 16:38:12 +0100 (Tue, 13 Sep 2011)

Log message (8 lines):
Changed my mind about the EOF policy in SSH mode: I think the SSH
backend should unilaterally assume outgoing EOF when it sees incoming
EOF, if and only if the main session channel is talking to a pty.
(Because ptys don't have a strong concept of EOF in the first place,
that seems like a sensible place to draw the line.) This fixes a bug
introduced by today's revamp in which if you used Unix Plink to run a
console session it would hang after you hit ^D - because the server
had sent EOF, but it was waiting for a client-side EOF too.

Modified files:
U   putty/ssh.c

Links:
http://svn.tartarus.org/sgt/?rev=9282&view=rev
http://svn.tartarus.org/sgt/putty/ssh.c?rev=9282&r1=9281&r2=9282



More information about the tartarus-commits mailing list