diff options
-rw-r--r-- | hiredis.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -808,6 +808,7 @@ int redisBufferRead(redisContext *c) { return REDIS_ERR; } } else if (nread == 0) { + c->flags &= ~REDIS_CONNECTED; __redisSetError(c,REDIS_ERR_EOF,"Server closed the connection"); return REDIS_ERR; } else { |