Generalise SSH_MSG_CHANNEL_{SUCCESS,FAILURE} handling.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 25 Aug 2012 11:12:14 +0000 (11:12 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 25 Aug 2012 11:12:14 +0000 (11:12 +0000)
commit39d830e47918e49d3033f639e5982a5e79be8dc5
tree2b4a79e7b70a075647677b1fe0800e9328d1d04f
parent5ab93329d5698739fcf00d3d52d69c8936ecd3f4
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: svn://svn.tartarus.org/sgt/putty@9615 cda61777-01e9-0310-a592-d414129be87e
ssh.c