]> git.kaiwu.me - haproxy.git/commit
Revert "BUG/MINOR: http-ana: Don't eval front after-response rules if stopped on...
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 9 Nov 2021 16:48:39 +0000 (17:48 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 9 Nov 2021 17:02:49 +0000 (18:02 +0100)
commit4c5a591b1029ef03c3461a7771483aa523e3111a
tree2f674a38e74d9894ff8f214a6ec11443f435a58b
parent46f46df300b5258f05e3bcf72e409f8629e8b63f
Revert "BUG/MINOR: http-ana: Don't eval front after-response rules if stopped on back"

This reverts commit 597909f4e67866c4f3ecf77f95f2cd4556c0c638

http-after-response rules evaluation was changed to do the same that was
done for http-response, in the code. However, the opposite must be performed
instead. Only the rules of the current section must be stopped. Thus the
above commit is reverted and the http-response rules evaluation will be
fixed instead.

Note that only "allow" action is concerned. It is most probably an uncommon
action for an http-after-request rule.

This patch must be backported as far as 2.2 if the above commit was
backported.
reg-tests/http-rules/http_after_response.vtc
src/http_ana.c