mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 19:40:28 +00:00
SSH2: _close_channel -> close_channel
This commit is contained in:
parent
988d37e479
commit
8e0651308c
@ -3591,7 +3591,7 @@ class SSH2
|
||||
// on windows this returns a "Warning: Invalid CRT parameters detected" error
|
||||
if (!@stream_select($read, $write, $except, $sec, $usec) && !count($read)) {
|
||||
$this->is_timeout = true;
|
||||
$this->_close_channel($client_channel);
|
||||
$this->close_channel($client_channel);
|
||||
return true;
|
||||
}
|
||||
$elapsed = microtime(true) - $start;
|
||||
|
Loading…
Reference in New Issue
Block a user