commit | 5e954e1f27729f85eabc4fe4159a3460774f3abc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jul 30 10:44:51 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jul 30 11:10:26 2018 +0200 |
tree | ce1611a42162b120b03fbea56de1be3ca2b4191b | |
parent | 3e12304ae004284e3186b489f398908e59a8574d [diff] |
BUG/MEDIUM: threads: properly fix nbthreads == MAX_THREADS While moving Olivier's patch for nbthread==MAX_THREADS in commit 3e12304 ("BUG/MINOR: threads: Handle nbthread == MAX_THREADS.") to hathreads.c, I missed one place resulting in the computed thread mask being used as the thread count, which is worse than the initial bug. Let's fix it properly this time. This fix must be backported to 1.8 just like the other one.