BUG/MINOR: ssl: One free session in cache remains unused.

This commit is contained in:
Emeric Brun 2012-11-28 11:41:01 +01:00 committed by Willy Tarreau
parent 5f51e1ad81
commit 78617e51fd

View File

@ -173,7 +173,7 @@ static inline void _shared_context_unlock(void)
shctx->active.n = s;
#define shsess_get_next() (shctx->free.p == shctx->free.n) ? \
#define shsess_get_next() (shctx->free.p == &shctx->free) ? \
shctx->active.p : shctx->free.p;
/* Tree Macros */