From 75fdc829bacbdc767b20d3f0e40b91215fce14fe Mon Sep 17 00:00:00 2001 From: laodc Date: Mon, 21 Aug 2023 15:45:58 +0700 Subject: Added support for Redis 6 ACL (username/password) --- src/libserver/redis_pool.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libserver/redis_pool.h') diff --git a/src/libserver/redis_pool.h b/src/libserver/redis_pool.h index 339bf5f53..ecdaa0f85 100644 --- a/src/libserver/redis_pool.h +++ b/src/libserver/redis_pool.h @@ -45,6 +45,7 @@ void rspamd_redis_pool_config(void *pool, * Create or reuse the specific redis connection * @param pool * @param db + * @param username * @param password * @param ip * @param port @@ -52,7 +53,7 @@ void rspamd_redis_pool_config(void *pool, */ struct redisAsyncContext *rspamd_redis_pool_connect( void *pool, - const gchar *db, const gchar *password, + const gchar *db, const gchar *username, const gchar *password, const char *ip, int port); enum rspamd_redis_pool_release_type { -- cgit v1.2.3