commit | 3caa0399c878a6d19d86c77d4eaadae25dea0eef | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@haproxy.com> | Fri Mar 13 13:38:17 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 13 14:10:35 2015 +0100 |
tree | e7dfd800ffa4316633b31c459e75da477bb0e1bb | |
parent | dd6f4b43e23238db85aae22a05335bee7122a435 [diff] |
BUG/MINOR: lua: set current proxy as default value if it is possible Some fetches uses a proxy name as first parameter. This is used to identify frontend, backend or table. This first argument is declared as mandatory, but the documentation says that is optional. The behavior of the function smp_resolve_args() is to use the current proxy if it match the required argument. This patch implements the same behavior in the Lua argument checker for sample-fetches and sample-converters.