]> git.kaiwu.me - haproxy.git/commit
CLEANUP: task: remove duplicated code in __tasklet_wakeup_after()
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Jun 2026 07:05:42 +0000 (09:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Jun 2026 07:05:42 +0000 (09:05 +0200)
commitc32bbd1ada2043884d3ef0565cb41c20345c0605
tree698e0f44abd0cac22a22ee8f865f3f76ff8733a8
parent0771f4757e3302567724d7e3c2b44e38698bb443
CLEANUP: task: remove duplicated code in __tasklet_wakeup_after()

In the case where the task is first inserted (!head), the code is
exactly __tasklet_wakeup_here(), so let's rely on this one. The
profiling and rq_total parts are already handled there so let's
move them to the head!=NULL branch.
src/task.c