commit | 37d69399648e489fea9f93b7e9fae02dfa59acbb | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jun 15 16:39:22 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jun 16 10:31:36 2021 +0200 |
tree | 60988b0419f3b68268c37a390a4732a1acf007ff | |
parent | ca36771425fbced2c81de5259da304dc4fa0254c [diff] |
BUG/MINOR: ssl: use atomic ops to update global shctx stats The global shctx lookups and misses was updated without using atomic ops, so the stats available in "show info" are very likely off by a few units over time. This should be backported as far as 1.8. Versions without _HA_ATOMIC_INC() can use HA_ATOMIC_ADD(,1). (cherry picked from commit 4c19e996218f6c205c1716a0b4718f9bced7f893) Signed-off-by: Willy Tarreau <w@1wt.eu>