BUG/MINOR: lua: executes the function destroying the Lua session in safe mode
authorThierry FOURNIER <thierry.fournier@ozon.io>
Wed, 12 Jul 2017 11:41:33 +0000 (13:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Jul 2017 04:41:28 +0000 (06:41 +0200)
commit75d0208009c3189b5d10793e08f27dd62a76c3ae
tree38e3900002bdeed8454528218b9597b1b2186322
parent0a97620c080232a21ad7fce2c859a2edc9d7147e
BUG/MINOR: lua: executes the function destroying the Lua session in safe mode

When we destroy the Lua session, we manipulates Lua stack,
so errors can raises. It will be better to catch these errors.

This patch should be backported in 1.6 and 1.7
src/hlua.c