mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
do_ssh2_authconn() now installs the standard handlers for CHANNEL_SUCCESS
and CHANNEL_FAILURE as soon as it's opened a channel, so there's no need for it to set them again later. [originally from svn r9646]
This commit is contained in:
parent
8acd57afb5
commit
54da9ee07a
7
ssh.c
7
ssh.c
@ -9328,13 +9328,6 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen,
|
||||
if (ssh->eof_needed)
|
||||
ssh_special(ssh, TS_EOF);
|
||||
|
||||
/*
|
||||
* All the initial channel requests are done, so install the default
|
||||
* response handler.
|
||||
*/
|
||||
ssh->packet_dispatch[SSH2_MSG_CHANNEL_SUCCESS] = ssh2_msg_channel_response;
|
||||
ssh->packet_dispatch[SSH2_MSG_CHANNEL_FAILURE] = ssh2_msg_channel_response;
|
||||
|
||||
/*
|
||||
* Transfer data!
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user