Hi,
I can reproduce the bug, forgot my previous workaround proposition and just add
an inspect delay:
https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#4-tcp-request%20inspect-delay
tcp-request inspect-delay 10s
If some actions can't be executed because it have no data, hapro
Could you change your configuration to test a workaround ?
After the line:
tcp-request content lua.enrich_query if !has_client_version
Add a fake action:
tcp-request set-var(req.wa) int(0)
Tell me if this work around fix the issue.
Thierry
On Tue, 15 May 2018 01:11:46 +
Grant Byer
Hi Grant,
It seems to be a bug. The action should allow yield.
Could you have a method for reproducing the bug ?
Thierry
On Tue, 15 May 2018 01:11:46 +
Grant Byers wrote:
> Hi all,
>
> Is it at all feasible to modify a TCP payload via a custom LUA action
> in a stable manner? ie, someth
Hi all,
Is it at all feasible to modify a TCP payload via a custom LUA action
in a stable manner? ie, something like this;
function enrich_query(txn)
--- Duplicate request. :set() will replace the request, if possible
local req = txn.req:dup()
-- if error or client closes connection
4 matches
Mail list logo