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.
This commit is contained in:
Christopher Faulet 2025-10-03 17:02:47 +02:00
parent 61933a96a6
commit 8219fa1842

View File

@ -4320,6 +4320,8 @@ enum rule_result http_wait_for_msg_body(struct stream *s, struct channel *chn,
} }
end: end:
if (ret != HTTP_RULE_RES_YIELD)
chn->analyse_exp = TICK_ETERNITY;
return ret; return ret;
abort: abort: