MINOR: http-rules: Handle denied/aborted/invalid connections from HTTP rules
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 16 Dec 2019 12:07:14 +0000 (13:07 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commit74f67af8d49b623bb9b96a170705613ad6815eb4
tree0eca136eddf69a3aa0c70fadf91128ad32000bb3
parent282992e25fbd0d46275ea26a01c6323e44803527
MINOR: http-rules: Handle denied/aborted/invalid connections from HTTP rules

The new possible results for a custom action (deny/abort/invalid) are now handled
during HTTP rules evaluation. These codes are mapped on HTTP rules ones :

  * ACT_RET_DENY => HTTP_RULE_RES_DENY
  * ACT_RET_ABRT => HTTP_RULE_RES_ABRT
  * ACT_RET_INV  => HTTP_RULE_RES_BADREQ

For now, no custom action uses these new codes.
src/http_ana.c