mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-14 10:07:32 +01: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