On Sun, 01 Mar 2015 23:45:01 +0100
Cyril Bonté <[email protected]> wrote:

> Hi again Thierry,
> 
> Le 01/03/2015 18:22, Cyril Bonté a écrit :
> > I think I'll try some LUA scripts before the end of the week-end (which
> > is approaching too quickly) ;-)
> 
> OK, I could play with some Lua scripts.
> I could declare some custom sample fetches, from which I could call 
> internal fetches ;-)
> And that's where I also could raise some segfaults, when I use sample 
> fetches that don't require arguments (for example "req_ver").
> 
> A simple Lua script which reproduces the segfault :
> core.register_fetches("hello", function(txn, ...)
>    return txn.req_ver(txn)
> end
> 
> With this haproxy configuration :
> global
>     lua-load hello_world.lua
> 
> listen proxy
>     mode http
>     bind 127.0.0.1:10001
>     http-request redirect location /%[lua.hello]
> 
> The time for me to commit and I'll send the fix.


Hi cyril,

Thank you for the tests and for the associated patches.

Thierry


> 
> -- 
> Cyril Bonté
> 

Reply via email to