From 8219fa184203d2646f86c6be2630e1c9ffc8ebd0 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Fri, 3 Oct 2025 17:02:47 +0200 Subject: [PATCH] BUG/MINOR: http-ana: Reset analyse_exp date after 'wait-for-body' action 'wait-for-body' action set analyse_exp date for the channel to the configured time. However, when the action is finished, it does not reset it. It is an issue for some following actions, like 'pause', that also rely on this date. To fix the issue, we must take care to reset the analyse_exp date to TICK_ETERNITY when the 'wait-for-body' action is finished. This patch should fix the issue #3147. It must be backported to all stable versions. --- src/http_ana.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/http_ana.c b/src/http_ana.c index d3e1dc98b..3184c69ec 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -4320,6 +4320,8 @@ enum rule_result http_wait_for_msg_body(struct stream *s, struct channel *chn, } end: + if (ret != HTTP_RULE_RES_YIELD) + chn->analyse_exp = TICK_ETERNITY; return ret; abort: