]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: lua: remove Lua struct from session, and allocate it with memory pools
authorThierry FOURNIER <thierry.fournier@ozon.io>
Sat, 17 Dec 2016 11:45:32 +0000 (12:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 14:24:56 +0000 (15:24 +0100)
commit2c8b54e7be1aab92da91a15fa5b39c4ddca3eb1b
tree0c2b859666579b534fff703382ff94fa343c372c
parent1be34152da64cad9f4737ddb17d51a6003e850f2
MEDIUM: lua: remove Lua struct from session, and allocate it with memory pools

This patch use memory pools for allocating the Lua struct. This
save 128B of memory in the session if the Lua is unused.
include/types/stream.h
src/hlua.c
src/stream.c