mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-29 04:23:34 +00:00
Merge branch 'keepalive-3.0' into keepalive-master
This commit is contained in:
commit
caa287b181
@ -3689,7 +3689,7 @@ class SSH2
|
|||||||
$this->binary_packet_buffer = false;
|
$this->binary_packet_buffer = false;
|
||||||
} else {
|
} else {
|
||||||
$response = $this->get_binary_packet(true);
|
$response = $this->get_binary_packet(true);
|
||||||
if ($response === true && $this->is_timeout)
|
if ($response === true && $this->is_timeout) {
|
||||||
if ($client_channel == self::CHANNEL_EXEC && !$this->request_pty) {
|
if ($client_channel == self::CHANNEL_EXEC && !$this->request_pty) {
|
||||||
$this->close_channel($client_channel);
|
$this->close_channel($client_channel);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user