]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: lua: applets can't sleep.
authorThierry Fournier <tfournier@arpalert.org>
Sat, 20 Feb 2016 16:47:43 +0000 (17:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 20 Feb 2016 17:55:33 +0000 (18:55 +0100)
commit0164f200ab75c51a55e097a5a2175f0168ea61a0
treec846b35aa59e6d63502beb25029339fc0bd8f40c
parent235fcfcf144e6e90481e908edf820cf570de5936
BUG/MAJOR: lua: applets can't sleep.

This patch must be backported in 1.6

hlua_yield() function returns the required sleep time. The Lua core must
be resume the execution after the required time. The core dedicated to
the http and tcp applet doesn't implement the wake up function. It is a
miss.

This patch fix this.
src/hlua.c