]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: lua: undetected infinite loop
authorThierry FOURNIER <tfournier@haproxy.com>
Fri, 13 Mar 2015 13:50:06 +0000 (14:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Mar 2015 14:54:35 +0000 (15:54 +0100)
commita85cfb1db5fd0869366d3178e4103c72cbfe2a83
treea0ce46176f1f43a5c22409572e147fe9124f6200
parent01c30124ae36bc13ffa0d0373015ceffdf97b08e
BUG/MEDIUM: lua: undetected infinite loop

If the Lua code causes an infinite loop without yield possible, the
clock is not updated. This patch check the clock when the Lua control
code cannot yield.
src/hlua.c