Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2020-03-12 01:21:21 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2020-03-30 22:34:12 +0300
commit35372a1f64f643cf4ce52c62c61e326e7d6a1e6e (patch)
tree1cd831de9e4ddabbb424171c9b7b9e29625d774e /common.h
parente37f38a39eb4bece8f49ebd0652112dc992084a0 (diff)
Authenticate in redis_sock_server_open
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.h b/common.h
index bb7b6ea7..e70a8ca0 100644
--- a/common.h
+++ b/common.h
@@ -24,7 +24,8 @@
typedef enum {
REDIS_SOCK_STATUS_FAILED = -1,
REDIS_SOCK_STATUS_DISCONNECTED,
- REDIS_SOCK_STATUS_CONNECTED
+ REDIS_SOCK_STATUS_CONNECTED,
+ REDIS_SOCK_STATUS_READY
} redis_sock_status;
#define _NL "\r\n"