mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-15 01:44:06 +00:00
Merge branch '3.0'
This commit is contained in:
commit
bb8dc9d4aa
@ -3335,7 +3335,8 @@ class SSH2
|
|||||||
$raw = stream_get_contents($this->fsock, $this->decrypt_block_size);
|
$raw = stream_get_contents($this->fsock, $this->decrypt_block_size);
|
||||||
|
|
||||||
if (!strlen($raw)) {
|
if (!strlen($raw)) {
|
||||||
return '';
|
$this->bitmap = 0;
|
||||||
|
throw new ConnectionClosedException('No data received from server');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->decrypt) {
|
if ($this->decrypt) {
|
||||||
|
Loading…
Reference in New Issue
Block a user