]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: lua: fix infinite loop about channel
authorThierry FOURNIER <tfournier@exceliance.fr>
Thu, 5 Mar 2015 16:45:34 +0000 (17:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Mar 2015 16:47:52 +0000 (17:47 +0100)
commitef6a2115fd7f32a296fda5660d1536482c4226bb
tree36e1e8ecde5c692f0ce0de40e5bc923889e8aa3b
parent1bfc09b4cff4216604c2bf333f7b0004d51591eb
BUG/MEDIUM: lua: fix infinite loop about channel

Before this patch, each yield in a Lua action set a flags to be
waked up when some activity were detected on the response channel.
This behavior causes loop in the analyzer process.

This patch set the wake up on response buffer activity only if we
really want to be waked up on this activity.
include/proto/hlua.h
include/types/hlua.h
src/hlua.c