hiredis-vip
hiredis-vip copied to clipboard
Cluster password support
how can i auth when i set the password
Password of redis cluster for hiredis-vip now is not support.
the feature is supported : https://github.com/deep011/redis-cluster-tool/pull/5&& vipshop/hiredis-vip#22 @deep011 please review and merge
I would love to see this merged to master.
I think it is better redesign the cluster api to set some options for cluster context, and they may be as the following:
redisClusterContext *redisClusterContextCreate(const char *addrs);
int redisClusterContextSetReadSlave(redisClusterContext *cc, int flags);
int redisClusterContextSetPasswd(redisClusterContext *cc, const char *password);
int redisClusterConnect(redisClusterContext *cc);
I will think over it and finish it recently.
I am eager for the cluster api supported passwd auth. @deep011 Come On!
@deep011 did you finish it for api supported passwd auth?
I have one works well so far: https://github.com/yanpengwang/hiredis-vip