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

In this function, the lua txn was only used to retrieve the stream. But it can
be retieve from the HTTP message, using its channel pointer. 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