Hi Thierry,

Le 18/08/2015 12:33, Thierry a écrit :
Hi,

How can I reproduce the segfault ?

While I tried to simplify the test to its minimal form, I could see that the segfault doesn't occur in "http-keep-alive" mode, but does in "httpclose" or "http-server-close" mode.

Here is the minimal configuration to reproduce the segfault :
haproxy.cfg :
global
        lua-load bug.lua

listen test
        bind :9000
        mode http
        option httpclose
        http-request lua closebug

bug.lua :
function closebug(txn)
        txn:close()
end


--
Cyril Bonté

Reply via email to