]> git.saurik.com Git - redis.git/blobdiff - src/redis.h
Fixed a timing attack on AUTH (Issue #560).
[redis.git] / src / redis.h
index 7cde4eb71a0555ddad1ea3e141878a3462f43985..a194bed44681b1959523fc232fdef1e842cb2117 100644 (file)
@@ -56,6 +56,7 @@
 #define REDIS_SLOWLOG_LOG_SLOWER_THAN 10000
 #define REDIS_SLOWLOG_MAX_LEN 128
 #define REDIS_MAX_CLIENTS 10000
+#define REDIS_AUTHPASS_MAX_LEN 512
 
 #define REDIS_REPL_TIMEOUT 60
 #define REDIS_REPL_PING_SLAVE_PERIOD 10