Don't close SSH-2 channels with outstanding channel requests on local error.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 27 Aug 2012 17:37:44 +0000 (17:37 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 27 Aug 2012 17:37:44 +0000 (17:37 +0000)
commit04120005c69fade02fcf13c154419cece35de375
treee26bdfb3ddf8fc9122ba0f337914f56edbc7d9b2
parent5ca1271916531b05ca55290fe26be458c874c471
Don't close SSH-2 channels with outstanding channel requests on local error.

In sshfwd_unclean_close(), get ssh2_check_close() to handle sending
SSH_MSG_CHANNEL_CLOSE.  That way, it can hold off doing so until any
outstanding channel requests are processed.

Also add event log message for unclean channel closures.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9631 cda61777-01e9-0310-a592-d414129be87e
ssh.c