Merge branch '2.0' into 3.0

This commit is contained in:
terrafrost 2024-08-10 20:00:48 -05:00
commit 05f45f0337

View File

@ -4014,9 +4014,6 @@ class SSH2
try { try {
$response = $this->get_binary_packet(); $response = $this->get_binary_packet();
} catch (TimeoutException $e) { } catch (TimeoutException $e) {
if ($client_channel == self::CHANNEL_EXEC && !$this->request_pty) {
$this->close_channel($client_channel);
}
return true; return true;
} }
list($type) = Strings::unpackSSH2('C', $response); list($type) = Strings::unpackSSH2('C', $response);