1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-14 18:15:39 +01:00

Merge branch '3.0'

This commit is contained in:
terrafrost 2021-11-11 19:40:16 -06:00
commit bb8dc9d4aa

View File

@ -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) {