BUG/MINOR: lua: Init the lua wake_time value before calling a lua function
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 26 Feb 2020 13:55:16 +0000 (14:55 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Mar 2020 13:13:00 +0000 (14:13 +0100)
commitbc275a9e4441d8118326fe2d560cf165b168931a
tree598d140371572a616643f3ce131702e283295acb
parent501465d94bb30a69361abddf8f748e30aef258d3
BUG/MINOR: lua: Init the lua wake_time value before calling a lua function

The wake_time of a lua context is now always set to TICK_ETERNITY when the
context is initialized and when everytime the execution of the lua stack is
started. It is mandatory to not set arbitrary wake_time when an action yields.

No backport needed.
src/hlua.c