MEDIUM: mux-fcgi: use task_kill() during fcgi_takeover() instead of task_wakeup()
authorWilly Tarreau <w@1wt.eu>
Wed, 1 Jul 2020 14:39:33 +0000 (16:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 1 Jul 2020 14:47:12 +0000 (16:47 +0200)
commit88d18f81aed369da4ca2f1334a2c06d2c6f66f35
treef01ccfba37d3104db2608de6eb863ca7e1dd5eb8
parent617e80ff76c1dd9f6c47e0f5c38df4c38713602e
MEDIUM: mux-fcgi: use task_kill() during fcgi_takeover() instead of task_wakeup()

task_wakeup() passes the task through the global run queue under the
global RQ lock, which is expensive when dealing with large amounts of
fcgi_takeover() calls. Let's use the new task_kill() instead to kill the
task.
src/mux_fcgi.c