summaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorItamar Haber <itamar@redislabs.com>2020-07-10 16:22:58 +0300
committerGitHub <noreply@github.com>2020-07-10 16:22:58 +0300
commita6504a16f70511c06bd5460b7cdfee6247cb09a6 (patch)
treeed0a47f5c181e8bfc046d0d9bd6b7da64cf98e0a /src/server.h
parent91d309681cf9db8c3b8d4f2d828c336cff661efb (diff)
parentd5648d617e1ed5b9cfa575ad412bc9d450b16afd (diff)
downloadredis-conduct.tar.gz
Merge branch 'unstable' into conductconduct
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h
index 6c36385e1..3f471efcb 100644
--- a/src/server.h
+++ b/src/server.h
@@ -1011,6 +1011,9 @@ typedef struct redisTLSContextConfig {
char *ciphers;
char *ciphersuites;
int prefer_server_ciphers;
+ int session_caching;
+ int session_cache_size;
+ int session_cache_timeout;
} redisTLSContextConfig;
/*-----------------------------------------------------------------------------
@@ -2070,6 +2073,7 @@ void propagateExpire(redisDb *db, robj *key, int lazy);
int expireIfNeeded(redisDb *db, robj *key);
long long getExpire(redisDb *db, robj *key);
void setExpire(client *c, redisDb *db, robj *key, long long when);
+int checkAlreadyExpired(long long when);
robj *lookupKey(redisDb *db, robj *key, int flags);
robj *lookupKeyRead(redisDb *db, robj *key);
robj *lookupKeyWrite(redisDb *db, robj *key);