version 1.393, 2019/06/28 13:35:04 |
version 1.394, 2019/07/07 01:05:00 |
|
|
int id = channel_parse_id(ssh, __func__, "status confirm"); |
int id = channel_parse_id(ssh, __func__, "status confirm"); |
Channel *c; |
Channel *c; |
struct channel_confirm *cc; |
struct channel_confirm *cc; |
int r; |
|
|
|
/* Reset keepalive timeout */ |
/* Reset keepalive timeout */ |
ssh_packet_set_alive_timeouts(ssh, 0); |
ssh_packet_set_alive_timeouts(ssh, 0); |
|
|
} |
} |
if (channel_proxy_upstream(c, type, seq, ssh)) |
if (channel_proxy_upstream(c, type, seq, ssh)) |
return 0; |
return 0; |
if ((r = sshpkt_get_end(ssh)) != 0) |
if (sshpkt_get_end(ssh) != 0) |
ssh_packet_disconnect(ssh, "Invalid status confirm message"); |
ssh_packet_disconnect(ssh, "Invalid status confirm message"); |
if ((cc = TAILQ_FIRST(&c->status_confirms)) == NULL) |
if ((cc = TAILQ_FIRST(&c->status_confirms)) == NULL) |
return 0; |
return 0; |