]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: rules: record the last http/tcp rule that gave a final verdict
authorWilly Tarreau <w@1wt.eu>
Wed, 9 Mar 2022 16:23:10 +0000 (17:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Mar 2022 10:51:34 +0000 (11:51 +0100)
commitc6dae869ca8baa9b6be0bd1012749eed268988dc
treee4ed8ef4c334829729711fcd3d1545a6490a29e7
parent3ec1461b034836a52e29a8ab0f6ac51506476b29
MINOR: rules: record the last http/tcp rule that gave a final verdict

When a tcp-{request,response} content or http-request/http-response
rule delivers a final verdict (deny, accept, redirect etc), the last
evaluated one will now be recorded in the stream. The purpose is to
permit to log the last one that performed a final action. For now
the log is not produced.
include/haproxy/stream-t.h
src/http_ana.c
src/stream.c
src/tcp_rules.c