MINOR: http-ana: Use a TXN flag to prevent after-response ruleset evaluation
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 May 2020 10:29:46 +0000 (12:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 May 2020 16:27:13 +0000 (18:27 +0200)
commit507479b09648b0c1e4ad0bfb5126dd3c1f32436c
tree4baec64017d8fe7fefbbf93699188d090e2497a4
parente29a97e51af98a503122e279656655ce9b6e004f
MINOR: http-ana: Use a TXN flag to prevent after-response ruleset evaluation

The txn flag TX_CONST_REPLY may now be used to prevent after-response ruleset
evaluation. It is used if this ruleset evaluation failed on an internal error
response. Before, it was done incrementing the parameter <final>. But it is not
really convenient if an intermediary function is used to produce the
response. Using a txn flag could also be a good way to prevent after-response
ruleset evaluation in a different context.
include/types/http_ana.h
src/http_ana.c