]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-act: Add 'pause' action to temporarily suspend the message analysis
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Apr 2025 14:08:50 +0000 (16:08 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Apr 2025 14:14:47 +0000 (16:14 +0200)
commit1709cfd31d04d02f2477af360eee695caf89b8d7
tree6180f5914eea00e68077791b90d3d44e36eeb678
parentce8c2d359bc338a0ac88f117bca440c93b749f15
MINOR: http-act: Add 'pause' action to temporarily suspend the message analysis

The 'pause' HTTP action can now be used to suspend for a moment the message
analysis. A timeout, expressed in milliseconds using a time-format
parameter, or an expression can be used. If an expression is used, errors
and invalid values are ignored.

Internally, the action will set the analysis expiration date on the
corresponding channel to the configured value and it will yield while it is
not expired.

The 'pause' action is available for 'http-request' and 'http-response'
rules.
doc/configuration.txt
src/http_act.c