Merge branch '2.0'

This commit is contained in:
terrafrost 2019-06-12 22:07:49 -05:00
commit 988d37e479

View File

@ -3591,6 +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);
return true;
}
$elapsed = microtime(true) - $start;