]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Another tweak to EOF policy: invent an outgoing EOF on receipt of an
authorSimon Tatham <anakin@pobox.com>
Wed, 14 Sep 2011 09:09:35 +0000 (09:09 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 14 Sep 2011 09:09:35 +0000 (09:09 +0000)
commitc54e228d0497409d72f336ea43f821b736a5ab29
treeb608a9e5809d72d46a13d6b746bf565641b62f1d
parent6e2bcd24a48792f4de332ed93403c54cdf3ce315
Another tweak to EOF policy: invent an outgoing EOF on receipt of an
incoming CHANNEL_CLOSE, if it's the main session channel. The idea is
that invocations such as 'plink -T hostname sh' (running a shell
without a remote pty) can be exited by typing 'exit' to the remote
shell, without plink blocking forever waiting for outgoing EOF.

I think it would be better to do the same for all other channel types
too, but that would need an extra API call which I haven't
implemented yet.

[originally from svn r9283]
ssh.c