]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: lua: Stop using the lua txn in hlua_http_get_headers()
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 24 Feb 2020 15:46:16 +0000 (16:46 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Mar 2020 13:13:00 +0000 (14:13 +0100)
commit9d1332bbf4d24f5df49623dcd95f9406c56f89b3
tree23e4f4b36111ad745105c7b22bd53d78e0bb7eef
parent2ac9ba2a1ced0e0e698df5a80b0f692c7f44cb99
MINOR: lua: Stop using the lua txn in hlua_http_get_headers()

In this function, the lua txn was only used to test if the HTTP transaction is
defined. But it is always used in a context where it is true. So, the lua txn
can be removed from the function argument list.

This patch is mandatory to allow the support of the filters written in lua.
src/hlua.c