]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Generalise SSH_MSG_CHANNEL_{SUCCESS,FAILURE} handling.
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 25 Aug 2012 11:12:14 +0000 (11:12 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 25 Aug 2012 11:12:14 +0000 (11:12 +0000)
commita4ff2c266fb9d02d12fba69167de0cf39bdbbe1c
tree2b4a79e7b70a075647677b1fe0800e9328d1d04f
parent0f4a9fe949cc0ea307580e738d993cc02d77a79b
Generalise SSH_MSG_CHANNEL_{SUCCESS,FAILURE} handling.

Now each channel has a queue of arbitrary handlers for those messages,
with anything that sends a CHANNEL_REQUEST with want_reply true pushing
a new entry onto the queue, and a shared handler that dispatches
responses appropriately.

Currently, this is only used for winadj@putty.projects.tartarus.org, but
extending it to cover the initial requests as well shouldn't be too
painful.

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