mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 19:40:28 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
5ea851d68b
@ -3519,7 +3519,11 @@ class SSH2
|
||||
|
||||
if (!is_resource($this->fsock) || feof($this->fsock)) {
|
||||
$this->bitmap = 0;
|
||||
user_error('Connection closed (by server) prematurely ' . $elapsed . 's');
|
||||
$str = 'Connection closed (by server) prematurely';
|
||||
if (isset($elapsed)) {
|
||||
$str.= ' ' . $elapsed . 's';
|
||||
}
|
||||
user_error($str);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user