mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-15 20:52:01 +02:00
BUG/MINOR: ssl: One free session in cache remains unused.
This commit is contained in:
committed by
Willy Tarreau
parent
5f51e1ad81
commit
78617e51fd
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user