MINOR: threads/checks: Set the task process_mask when a check is executed
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 20 Oct 2017 13:41:18 +0000 (15:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 12:58:33 +0000 (13:58 +0100)
commit88ce5d18a58950ff525a1e6267303f42bb1e6f4d
treec302ccd4d23c733d1ed1be3bb04cdf3f6c20f41e
parentcfda8476436ca90a8ebee67c3d84bf8f69ac56b6
MINOR: threads/checks: Set the task process_mask when a check is executed

Tasks used to process checks are created to be processed by any threads. But,
once a check is started, we must be sure to be sticky on the running thread
because I/O will be also sticky on it. This is a requirement for now: Tasks and
I/O handlers linked to the same session must be executed on the same thread.
src/checks.c