simon-svn: putty: ben
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sat Aug 25 22:06:48 BST 2012
SVN root: svn://svn.tartarus.org/sgt
Changes by: ben
Revision: 9623
Date: 2012-08-25 22:06:48 +0100 (Sat, 25 Aug 2012)
Log message (13 lines):
Better handling of outstanding CHANNEL_REQUESTS on channel destruction.
Part the first: make sure that all structures describing channel
requests are freed when the SSH connection is freed. This involves
adding a means to ask a response handler to free any memory it holds.
Part the second: in ssh_channel_try_eof(), call
ssh2_channel_check_close() rather than emitting an SSH_MSG_CHANNEL_EOF
directly. This avoids the possibility of closing the channel while a
CHANNEL_REQUEST is outstanding.
Also add some assertions that helped with tracking down the latter
problem.
Modified files:
U putty/ssh.c
Links:
http://svn.tartarus.org/sgt/?rev=9623&view=rev
http://svn.tartarus.org/sgt/putty/ssh.c?rev=9623&r1=9622&r2=9623
More information about the tartarus-commits
mailing list