djveremix / redis

Automatically exported from code.google.com/p/redis
0 stars 0 forks source link

redis-cli does not handle EOF in monitor mode correctly #296

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run redis-cli in monitor mode
2. killall redis-server

What is the expected output? What do you see instead?

redis-cli should exit, as the server is no longer running. It does not, instead 
it spews infinite newlines.

What version of the product are you using? On what operating system?

redis 2.0.0rc3

Please provide any additional information below.

Patch attached, fixes the issue.

Original issue reported on code.google.com by bjarni.r...@gmail.com on 1 Aug 2010 at 12:20

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in Redis-master, cheers, Salvatore

Original comment by anti...@gmail.com on 30 Aug 2010 at 9:52