From: Christopher Faulet Date: Fri, 3 Oct 2025 15:02:47 +0000 (+0200) Subject: BUG/MINOR: http-ana: Reset analyse_exp date after 'wait-for-body' action X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8219fa184203d2646f86c6be2630e1c9ffc8ebd0;p=thirdparty%2Fhaproxy.git 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. --- 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: