Willy Tarreau 4ebe6dcb31 BUG/MEDIUM: mailers: make sure to always apply offsets to now_ms in expiration
Now_ms can be zero nowadays, so it's not suitable for direct assignment to
t->expire, as there's a risk that the timer never wakes up once assigned
(TICK_ETERNITY). Let's use tick_add(now_ms, 0) for an immediate wakeup
instead. The impact here might be mailers suddenly stopping.

This should be backported where it applies.

(cherry picked from commit 841be4cdd15b3d0834a478cc95ebda0f47171b4d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
2024-11-22 15:35:02 +01:00
..
2024-04-02 07:27:33 +02:00
2024-04-02 07:27:33 +02:00
2022-04-22 15:45:47 +02:00
2024-10-24 16:55:20 +02:00
2022-10-03 16:25:17 +02:00
2024-09-05 16:12:41 +02:00