MINOR: lua: Add flags on the lua TXN to know the execution context
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Aug 2021 14:29:41 +0000 (16:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 12 Aug 2021 06:57:07 +0000 (08:57 +0200)
commit8c9e6bba0fc7feb8492cee7ebe5f925f842f004b
tree728ae6a8d148793f0ab09ffd6dc77adf0db2c7ff
parent9f55a5012efbffda5ae80ec5825fd58384bb8c3f
MINOR: lua: Add flags on the lua TXN to know the execution context

A lua TXN can be created when a sample fetch, an action or a filter callback
function is executed. A flag is now used to track the execute context.
Respectively, HLUA_TXN_SMP_CTX, HLUA_TXN_ACT_CTX and HLUA_TXN_FLT_CTX. The
filter flag is not used for now.
include/haproxy/hlua-t.h
src/hlua.c