MINOR: filters/lua: Add request and response HTTP messages in the lua TXN
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 26 Feb 2020 16:14:08 +0000 (17:14 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 12 Aug 2021 06:57:07 +0000 (08:57 +0200)
commit78c35471f8f531dd31d3b2b845d59697f195a160
treeb043679d1c094dfe9c62ca1574980736c9645c6a
parentdf97ac45845d3e978c2fd18a2e2ab948e6140d76
MINOR: filters/lua: Add request and response HTTP messages in the lua TXN

When a lua TXN is created from a filter context, the request and the response
HTTP message objects are accessible from ".http_req" and ".http_res" fields. For
an HTTP proxy, these objects are always defined. Otherwise, for a TCP proxy, no
object is created and nil is used instead. From any other context (action or
sample fetch), these fields don't exist.
src/hlua.c