mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +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
|
// on windows this returns a "Warning: Invalid CRT parameters detected" error
|
||||||
if (!@stream_select($read, $write, $except, $sec, $usec) && !count($read)) {
|
if (!@stream_select($read, $write, $except, $sec, $usec) && !count($read)) {
|
||||||
$this->is_timeout = true;
|
$this->is_timeout = true;
|
||||||
$this->_close_channel($client_channel);
|
$this->close_channel($client_channel);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
$elapsed = microtime(true) - $start;
|
$elapsed = microtime(true) - $start;
|
||||||
|
Loading…
Reference in New Issue
Block a user