1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-03 18:18:05 +01:00

Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2021-07-28 20:01:26 -05:00
commit b0fe99b792

View File

@ -467,6 +467,8 @@ class SFTP extends SSH2
$response = $this->_get_channel_packet(self::CHANNEL, true);
if ($response === false) {
return false;
} else if ($response === true && $this->isTimeout()) {
return false;
}
$packet = pack(
@ -513,6 +515,8 @@ class SFTP extends SSH2
if ($response === false) {
return false;
}
} else if ($response === true && $this->isTimeout()) {
return false;
}
$this->channel_status[self::CHANNEL] = NET_SSH2_MSG_CHANNEL_DATA;