]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: lua: properly allocate the lua Socket proxy
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 24 Mar 2021 09:22:03 +0000 (10:22 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 26 Mar 2021 14:28:33 +0000 (15:28 +0100)
commit239fdbf548df872039671b1f32f4e96a083f43ee
tree10c9138feffbd53d2a19d991bf9160cbc8597575
parent6f26faecd8a55cfab21dd0b94106bc2194cde912
MINOR: lua: properly allocate the lua Socket proxy

Replace static initialization of the lua Socket proxy with the standard
function alloc_new_proxy. The settings proxy are properly applied thanks
to PR_CAP_LUA. The proxy is freed with the free_proxy function.
src/hlua.c