commit | e48d1dc2d9581c8fd1fa3f635b96fe64de7f8518 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Aug 13 14:11:17 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Aug 13 17:14:47 2021 +0200 |
tree | 46a38c20d2392da1878c006549f62c75be3a6707 | |
parent | 26eb5ea352c2ba8b25f014222773fb6946004bef [diff] |
BUG/MINOR: lua/filters: Return right code when txn:done() is called txn functions can now be called from an action or a filter context. Thus the return code must be adapted depending on this context. From an action, act.ABORT is returned. From a filter, -1 is returned. It is the filter error code. This bug only affects 2.5-dev. No backport needed.