MINOR: http-act/tcp-act: Add "set-log-level" for tcp content rules
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 25 Jun 2021 12:35:29 +0000 (14:35 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 25 Jun 2021 14:11:46 +0000 (16:11 +0200)
commit551a641cff24af548218dc7fff5c3990dc774a30
tree0e70a81c288d666b5542627bdfdaa91ab04d325d
parentfa5880bd539b9069fd1b139d32cffae2bb3c2c3c
MINOR: http-act/tcp-act: Add "set-log-level" for tcp content rules

It is now possible to set the stream log level 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 should fix issue #1306. It 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