]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http-rules: Abort transaction when a redirect is applied on response
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Mar 2020 14:44:37 +0000 (15:44 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Mar 2020 14:44:38 +0000 (15:44 +0100)
commit49c2a707ce06f73a14addccc93cf403d13c15371
treeb5ff56f89e615e8a011b008d5cda0a292d8c673d
parentddc005ae5783b6479292156b97db7b6fbdabf6a3
BUG/MINOR: http-rules: Abort transaction when a redirect is applied on response

In the same way than for the request, when a redirect rule is applied the
transction is aborted. This must be done returning HTTP_RULE_RES_ABRT from
http_res_get_intercept_rule() function.

No backport needed because on previous versions, the action return values are
not handled the same way.
src/http_ana.c