]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Changed my mind about the EOF policy in SSH mode: I think the SSH
authorSimon Tatham <anakin@pobox.com>
Tue, 13 Sep 2011 15:38:12 +0000 (15:38 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 13 Sep 2011 15:38:12 +0000 (15:38 +0000)
commit6e2bcd24a48792f4de332ed93403c54cdf3ce315
treed58b3894d647ef9f4b38aab4f1b112018feb1756
parent5848c8cc3d5531233540cba33802a22fe6d49439
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.

[originally from svn r9282]
ssh.c