• L
    Fixed redis-cli readLine loop to correctly handle EOF. · b91f03a4
    Luc Heinrich 提交于
    When using the shutdown command with redis-cli the server saves the database and, if successful, silently closes the connection. The redis-cli tool did not correcty handle this EOF case in its readLine loop and was therefore infinitely looping - and eating 100% of the CPU - while waiting for some data which would never come.
    b91f03a4
redis-cli.c 10.8 KB