]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: lua: Reset analyse expiration timeout before executing a lua action
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 2 Jun 2020 16:46:07 +0000 (18:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Jun 2020 08:24:58 +0000 (10:24 +0200)
commit23308ebf0d603d3f81b4c7a5bdcd82f1cd70c449
treec0eb19d9f5d94620d627325847e637c4558f6571
parent89aed32bfffb5f6f51bdab3e7bd5efc44a9927a1
BUG/MEDIUM: lua: Reset analyse expiration timeout before executing a lua action

Before executing a lua action, the analyse expiration timeout of the
corresponding channel must be reset. Otherwise, when it expires, for instance
because of a call to core.msleep(), if the action yields, an expired timeout
will be used for the stream's task, leading to a loop.

This patch should fix the issue #661. It must be backported in all versions
supporting the lua.
src/hlua.c