mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-11 03:31:36 +00:00
BUG/MINOR: ssl: One free session in cache remains unused.
This commit is contained in:
parent
5f51e1ad81
commit
78617e51fd
@ -173,7 +173,7 @@ static inline void _shared_context_unlock(void)
|
|||||||
shctx->active.n = s;
|
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;
|
shctx->active.p : shctx->free.p;
|
||||||
|
|
||||||
/* Tree Macros */
|
/* Tree Macros */
|
||||||
|
Loading…
Reference in New Issue
Block a user