nrk/phpiredis

Infinite loop while sending bad command

moechofe opened this issue · 0 comments

Using this small example, the PHP send forever the command HGETALL

<?php
$link = phpiredis_connect('redis', 6385);
phpiredis_command($link, 'SET foo bar');
var_dump(phpiredis_command($link, 'HGETALL foo'));

Remplace the command 'HGETALL foo' 'HGET foo'. The command is not sent, but the PHP is still running forever.