]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http-act: Fix parsing of the expression argument for pause action
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Jul 2025 12:34:08 +0000 (14:34 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Jul 2025 12:38:32 +0000 (14:38 +0200)
commit5da4da0bb62b6492c3a6fc31bd699220491bf21a
tree563e4371caae6bc314f06b971abc9cee3f8cad95
parent3cc5991c9b0a450028ef0302be4b2b73b4350e93
BUG/MINOR: http-act: Fix parsing of the expression argument for pause action

When the "pause" action is parsed, if an expression is used instead of a
static value, the position of the current argument after the expression
evaluation is incremented while it should not. The sample_parse_expr()
function already take care of it. However, it should still be incremented
when an time value was parsed.

This patch must be backported to 3.2.
src/http_act.c