Remove client from list of unblocked clients when it is free'd

This commit is contained in:
Pieter Noordhuis
2011-01-17 10:03:21 +01:00
parent b8cfcea424
commit 3bcffcbe5b
4 changed files with 12 additions and 1 deletions

View File

@ -136,6 +136,8 @@
#define REDIS_IO_WAIT 32 /* The client is waiting for Virtual Memory I/O */
#define REDIS_DIRTY_CAS 64 /* Watched keys modified. EXEC will fail. */
#define REDIS_CLOSE_AFTER_REPLY 128 /* Close after writing entire reply. */
#define REDIS_UNBLOCKED 256 /* This client was unblocked and is stored in
server.unblocked_clients */
/* Client request types */
#define REDIS_REQ_INLINE 1