commit | 1725c2e3951d4eeae136125f417c620fa0ed3847 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <thierry.fournier@ozon.io> | Sun Jan 06 19:38:49 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jan 07 10:52:46 2019 +0100 |
tree | 0c43dfe0ffa7b4f8c7049168253a3fa72961504b | |
parent | 7778b59be1d444c7e0cb5b2fd6c10d9aa54f773d [diff] |
BUG/MINOR: lua: bad args are returned for Lua actions In tcp actions case, the argument n - 1 is returned. For example: http-request lua.script stuff display "stuff" as first arg tcp-request content lua.script stuff display "lua.script" as first arg The action parser doesn't use the *cur_arg value. Thanks to Andy Franks for the bug report. This patch mist be backported in haproxy-1.8 and haproxy-1.9