mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-10-27 06:31:23 +01:00
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:
parent
61933a96a6
commit
8219fa1842
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user