]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: check: use atomic for s->consecutive_errors
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 7 Dec 2022 13:27:42 +0000 (14:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Dec 2022 16:04:08 +0000 (17:04 +0100)
commit81b7c9518c593f511741115fe575a8529e6f7c67
tree47967d50805d19c351c4f2642eb7d3c389cccfee
parent7d541a91ec6d51e3765d1776a6230f8d2a9b5e04
MINOR: check: use atomic for s->consecutive_errors

Properly use atomic operations when dealing with s->consecutive_errors as
we're using it out of server's lock.

Race is negligible, no backport needed.
src/check.c