]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http_ana: position the FINAL flag for http_after_res execution
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 4 Sep 2023 14:46:50 +0000 (16:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Sep 2023 09:42:34 +0000 (11:42 +0200)
commit4457783ade690c44a290c10bedf51653e5436a94
treeea63007e829067d94ef3dcc6d824ef00ec6878f1
parent967608a4327df8269f72d7b67bdf536c84611dbd
MINOR: http_ana: position the FINAL flag for http_after_res execution

Ensure that the ACT_OPT_FINAL flag is always set when executing actions
from http_after_res context.

This will permit lua functions to be executed as http_after_res actions
since hlua_ctx_resume() automatically disables "yielding" when such flag
is set: the hlua handler will only allow 1shot executions at this point
(lua or not, we don't wan't to reschedule http_after_res actions).
src/http_ana.c