MINOR: http-rules: Add more return codes to let custom actions act as normal ones
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 16 Dec 2019 11:25:43 +0000 (12:25 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commit30a2a3724b6d2ba01e2c269f9745300673ed73f8
treedef4558f7206ac346d1501bec1e6a2e37203ed65
parent3a26beea18934c63fb228c7943356a9c66a284e3
MINOR: http-rules: Add more return codes to let custom actions act as normal ones

When HTTP/TCP rules are evaluated, especially HTTP ones, some results are
possible for normal actions and not for custom ones. So missing return codes
(ACT_RET_) have been added to let custom actions act as normal ones. Concretely
following codes have been added:

 * ACT_RET_DENY : deny the request/response. It must be handled by the caller
 * ACT_RET_ABRT : abort the request/response, handled by action itsleft.
 * ACT_RET_INV  : invalid request/response
include/types/action.h