mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-13 09:08:42 +00:00
Merge branch '3.0'
This commit is contained in:
commit
57771503aa
@ -1348,7 +1348,7 @@ class SSH2
|
||||
$write = $except = null;
|
||||
$start = microtime(true);
|
||||
$sec = (int) floor($this->curTimeout);
|
||||
$usec = (int) 1000000 * ($this->curTimeout - $sec);
|
||||
$usec = (int) (1000000 * ($this->curTimeout - $sec));
|
||||
if (@stream_select($read, $write, $except, $sec, $usec) === false) {
|
||||
throw new \RuntimeException('Connection timed out whilst receiving server identification string');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user