]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: actions: remove ACTION_STOP
authorThierry FOURNIER <tfournier@arpalert.org>
Wed, 2 Sep 2015 15:17:33 +0000 (17:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Sep 2015 16:36:38 +0000 (18:36 +0200)
commit42148735bc04c298d756b7d0be0ae67eac8e9286
treef3b93c1015e99a515c092c6559591fa89a40a3f0
parentbd99d5818d0beea8458189ba22989b0183cd6785
MEDIUM: actions: remove ACTION_STOP

Before this patch, two type of custom actions exists: ACT_ACTION_CONT and
ACT_ACTION_STOP. ACT_ACTION_CONT is a non terminal action and ACT_ACTION_STOP is
a terminal action.

Note that ACT_ACTION_STOP is not used in HAProxy.

This patch remove this behavior. Only type type of custom action exists, and it
is called ACT_CUSTOM. Now, the custion action can return a code indicating the
required behavior. ACT_RET_CONT wants that HAProxy continue the current rule
list evaluation, and ACT_RET_STOP wants that HAPRoxy stops the the current rule
list evaluation.
include/types/action.h
src/hlua.c
src/proto_http.c
src/proto_tcp.c
src/stick_table.c
src/vars.c