]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: actions: pass a new "flags" argument to custom actions
authorWilly Tarreau <w@1wt.eu>
Sun, 27 Sep 2015 08:00:49 +0000 (10:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 27 Sep 2015 09:04:06 +0000 (11:04 +0200)
commit658b85b68d4852d69bbbf176eb98bd11dfaeb312
treea705050a8b308ee71ac172457e12d15bd57d8a51
parenteba6f64a5f1edce07fb1703e37d8bb61d8947b66
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.
include/types/action.h
src/hlua.c
src/proto_http.c
src/proto_tcp.c
src/stick_table.c
src/vars.c