commit | e737103173d8cc33a564127f9ec442d41ff75a19 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Feb 15 18:49:15 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Feb 21 19:07:19 2019 +0100 |
tree | 37ac03c2d36b15e1ef0a8d4e4b1cd7f226eaaf93 | |
parent | 67b8caefc95ccd885cb82c6bd031fe385a0538b1 [diff] |
BUG/MEDIUM: servers: Use atomic operations when handling curr_idle_conns. Use atomic operations when dealing with srv->curr_idle_conns, as it's shared between threads, otherwise we could get inconsistencies. This should be backported to 1.9.