BUG/MINOR: haproxy: always initialize sleeping_thread_mask
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2020 16:24:53 +0000 (17:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Mar 2020 14:52:58 +0000 (16:52 +0200)
commit6f775c08097ba817969739a6c2c647b54cf85471
treec9dff511b55882ab35a62363897fa9b13a6b931d
parent1c8275fef49d887cf47fc2a4ead15198920a2699
BUG/MINOR: haproxy: always initialize sleeping_thread_mask

Surprizingly the variable was never initialized, though on most
platforms it's zeroed at boot, and it is relatively harmless
anyway since in the worst case the bits are updated around poll().

This was introduced by commit 79321b95a85 and needs to be backported
as far as 1.9.

(cherry picked from commit f8ea00e05e1e5358311086e2a4b9a47fb3fb306c)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/haproxy.c