mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +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;
|
||||
}
|
||||
session->exec_channel_opened = 1;
|
||||
chan->request_state = SSH_CHANNEL_REQ_STATE_ACCEPTED;
|
||||
chan->state = SSH_CHANNEL_STATE_OPEN;
|
||||
chan->local_maxpacket = 32000;
|
||||
chan->local_window = 64000;
|
||||
|
||||
Reference in New Issue
Block a user