This commit is contained in:
2026-03-06 00:12:02 +01:00
parent 7d331fb39a
commit 0252c0b4ab
2 changed files with 31 additions and 4 deletions

View File

@@ -64,6 +64,10 @@ final class RedisClient
{
$line = $this->readLine();
if ($line === '') {
if ($this->stream) {
fclose($this->stream);
$this->stream = null;
}
throw new \RuntimeException('Redis empty response');
}
$type = $line[0];