commit | 78c35471f8f531dd31d3b2b845d59697f195a160 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Feb 26 17:14:08 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Aug 12 08:57:07 2021 +0200 |
tree | b043679d1c094dfe9c62ca1574980736c9645c6a | |
parent | df97ac45845d3e978c2fd18a2e2ab948e6140d76 [diff] |
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.