mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 10:40:27 +09:00
channels1: Add missing request_state and set it to accepted.
This fixes bug #88.
This commit is contained in:
@@ -62,6 +62,7 @@ int channel_open_session1(ssh_channel chan) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
session->exec_channel_opened = 1;
|
session->exec_channel_opened = 1;
|
||||||
|
chan->request_state = SSH_CHANNEL_REQ_STATE_ACCEPTED;
|
||||||
chan->state = SSH_CHANNEL_STATE_OPEN;
|
chan->state = SSH_CHANNEL_STATE_OPEN;
|
||||||
chan->local_maxpacket = 32000;
|
chan->local_maxpacket = 32000;
|
||||||
chan->local_window = 64000;
|
chan->local_window = 64000;
|
||||||
|
|||||||
Reference in New Issue
Block a user