Unix socket clients properly displayed in MONITOR and CLIENT LIST.

This also fixes issue #745.
This commit is contained in:
antirez
2012-11-01 22:10:45 +01:00
parent 655e6838fb
commit d775b35715
3 changed files with 15 additions and 8 deletions

View File

@ -152,6 +152,7 @@
#define REDIS_LUA_CLIENT 512 /* This is a non connected client used by Lua */
#define REDIS_ASKING 1024 /* Client issued the ASKING command */
#define REDIS_CLOSE_ASAP 2048 /* Close this client ASAP */
#define REDIS_UNIX_SOCKET 4096 /* Client connected via Unix domain socket */
/* Client request types */
#define REDIS_REQ_INLINE 1