mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-14 07:21:01 +01:00
The direction (request or response) is not propagated in the sample fecthes called throught Lua. This patch adds the direction status in some structs (hlua_txn and hlua_smp) to make sure that the sample fetches will be called with all the information. The converters can not access to a TXN object, so there are not impacted the direction. However, the samples used as input of the Lua converter wrapper are initiliazed with the direction. Thereby, the struct smp stay consistent. [wt: needs to be backported to 1.6]