]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-rules: Handle internal errors during HTTP rules evaluation
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 16 Dec 2019 11:47:40 +0000 (12:47 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commit3a26beea18934c63fb228c7943356a9c66a284e3
treec415c4ede08e5f0a4ebaff003d8cee474b21f28a
parent4d90db5f4c39764c1e071921fac6b271c0e4899d
MINOR: http-rules: Handle internal errors during HTTP rules evaluation

The HTTP_RULE_RES_ERROR code is now used by HTTP analyzers to handle internal
errors during HTTP rules evaluation. It is used instead of HTTP_RULE_RES_BADREQ,
used for invalid requests/responses. In addition, the SF_ERR_RESOURCE flag is
set on the stream when an allocation failure happens.

Note that the return value of http-response rules evaluation is now tested in
the same way than the result of http-request rules evaluation.
src/http_ana.c