mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-14 17:59:05 +02:00
MEDIUM: actions: pass a new "flags" argument to custom actions
Since commit bc4c1ac ("MEDIUM: http/tcp: permit to resume http and tcp
custom actions"), some actions may yield and be called back when new
information are available. Unfortunately some of them may continue to
yield because they simply don't know that it's the last call from the
rule set. For this reason we'll need to pass a flag to the custom
action to pass such information and possibly other at the same time.
This commit is contained in:
@@ -4469,7 +4469,7 @@ __LJMP static int hlua_register_fetches(lua_State *L)
|
||||
* because the LUA returns a yield.
|
||||
*/
|
||||
static enum act_return hlua_action(struct act_rule *rule, struct proxy *px,
|
||||
struct session *sess, struct stream *s)
|
||||
struct session *sess, struct stream *s, int flags)
|
||||
{
|
||||
char **arg;
|
||||
unsigned int analyzer;
|
||||
|
||||
Reference in New Issue
Block a user