simon-svn: putty: simon

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


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

Log message (17 lines):
Revamp of EOF handling in all network connections, pipes and other
data channels. Should comprehensively fix 'half-closed', in principle,
though it's a big and complicated change and so there's a good chance
I've made at least one mistake somewhere.

All connections should now be rigorous about propagating end-of-file
(or end-of-data-stream, or socket shutdown, or whatever) independently
in both directions, except in frontends with no mechanism for sending
explicit EOF (e.g. interactive terminal windows) or backends which are
basically always used for interactive sessions so it's unlikely that
an application would be depending on independent EOF (telnet, rlogin).

EOF should now never accidentally be sent while there's still buffered
data to go out before it. (May help fix 'portfwd-corrupt', and also I
noticed recently that the ssh main session channel can accidentally
have MSG_EOF sent before the output bufchain is clear, leading to
embarrassment when it subsequently does send the output).

Modified files:
U   putty/network.h
U   putty/portfwd.c
U   putty/proxy.c
U   putty/proxy.h
U   putty/pscp.c
U   putty/psftp.c
U   putty/putty.h
U   putty/raw.c
U   putty/rlogin.c
U   putty/ssh.c
U   putty/ssh.h
U   putty/telnet.c
U   putty/unix/gtkwin.c
U   putty/unix/uxnet.c
U   putty/unix/uxplink.c
U   putty/unix/uxproxy.c
U   putty/windows/window.c
U   putty/windows/winhandl.c
U   putty/windows/winnet.c
U   putty/windows/winplink.c
U   putty/windows/winproxy.c
U   putty/windows/winstuff.h
U   putty/x11fwd.c

Links:
http://svn.tartarus.org/sgt/?rev=9279&view=rev
http://svn.tartarus.org/sgt/putty/network.h?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/portfwd.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/proxy.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/proxy.h?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/pscp.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/psftp.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/putty.h?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/raw.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/rlogin.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/ssh.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/ssh.h?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/telnet.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/unix/gtkwin.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/unix/uxnet.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/unix/uxplink.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/unix/uxproxy.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/windows/window.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/windows/winhandl.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/windows/winnet.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/windows/winplink.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/windows/winproxy.c?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/windows/winstuff.h?rev=9279&r1=9278&r2=9279
http://svn.tartarus.org/sgt/putty/x11fwd.c?rev=9279&r1=9278&r2=9279



More information about the tartarus-commits mailing list