mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-15 19:16:55 +00:00
SFTP: update for the master branch
This commit is contained in:
parent
a84f5ddc49
commit
c4f6f602e5
@ -3117,7 +3117,7 @@ class SFTP extends SSH2
|
||||
while ($tempLength > 0) {
|
||||
$temp = $this->get_channel_packet(self::CHANNEL, true);
|
||||
if ($temp === true) {
|
||||
if ($this->channel_status[self::CHANNEL] === NET_SSH2_MSG_CHANNEL_CLOSE) {
|
||||
if ($this->channel_status[self::CHANNEL] === SSH2MessageType::CHANNEL_CLOSE) {
|
||||
$this->channel_close = true;
|
||||
}
|
||||
$this->packet_type = false;
|
||||
|
Loading…
Reference in New Issue
Block a user