BUG/MINOR: ssl: make SSL counters atomic

SSL counters were added with commit d0447a7c3 ("MINOR: ssl: add counters
for ssl sessions") in 2.4, but their updates were not atomic, so it's
likely that under significant loads they are not correct.

This needs to be backported to 2.4.

(cherry picked from commit c5e7cf9e696cbc7fbe3f01a6109bd6588a6feabd)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed