]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tcp-rules: Make tcp-request capture a custom action
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 19 Dec 2019 16:27:03 +0000 (17:27 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commitd73b96d48cb8ed45e4f32c735d28f5f7a2818900
treee3a3019be70d292ed07f4681b2ff2ce4dfd95ed7
parentac98d81f4640a51e4d8c3f2079df0a7e7c46384a
MINOR: tcp-rules: Make tcp-request capture a custom action

Now, this action is use its own dedicated function and is no longer handled "in
place" during the TCP rules evaluation. Thus the action name ACT_TCP_CAPTURE is
removed. The action type is set to ACT_CUSTOM and a check function is used to
know if the rule depends on request contents while there is no inspect-delay.
include/proto/action.h
include/types/action.h
src/action.c
src/cfgparse.c
src/tcp_rules.c