commit | cea8537efdd8306742cda30faafb03732567a6ae | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Nov 29 14:49:30 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Nov 29 14:51:20 2017 +0100 |
tree | 499bbc3af08dc35a5d345a24f4ad3ab5a1ce55c9 | |
parent | cebd7962e2bcd31bfe67ef6426a5210d1ec0428b [diff] |
BUG/MEDIUM: threads/peers: decrement, not increment jobs on quitting Commit 8d8aa0d ("MEDIUM: threads/listeners: Make listeners thread-safe") mistakenly placed HA_ATOMIC_ADD(job, 1) to replace a job--, so it maintains the job count too high preventing the process from cleanly exiting on reload. This needs to be backported to 1.8.