MINOR: http-act/tcp-act: Add "set-nice" for tcp content rules
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 25 Jun 2021 12:46:02 +0000 (14:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 25 Jun 2021 14:11:53 +0000 (16:11 +0200)
commit1da374af2f98c0a5e41e6d99553d74426a45ffe0
treed6438551ed6aae7469cbb6506b6a935c71101456
parent551a641cff24af548218dc7fff5c3990dc774a30
MINOR: http-act/tcp-act: Add "set-nice" for tcp content rules

It is now possible to set the "nice" factor of the current stream from a
"tcp-request content" or "tcp-response content" ruleset. To do so, the
action parsing is moved in stream.c and the action evaluation is handled in
a dedicated function.

This patch may be backported as far as 2.2 if necessary.
doc/configuration.txt
include/haproxy/action-t.h
src/http_act.c
src/http_ana.c
src/stream.c