Re: [PATCH] BUG/MEDIUM: tools: fix build with static only toolchains

2020-07-24 Thread Willy Tarreau
Hi Baruch, On Fri, Jul 24, 2020 at 01:05:54PM +0300, Baruch Siach wrote: > I can confirm that the patch below also fixes the same build issue. Great, thank you! I've updated your first patch to use this one instead, adjusted the commit message accordingly, and marked it for backport to 2.1.

Re: [PATCH] BUG/MEDIUM: tools: fix build with static only toolchains

2020-07-24 Thread Baruch Siach
Hi Willy, On Fri, Jul 24 2020, Willy Tarreau wrote: > On Fri, Jul 24, 2020 at 07:40:01AM +0200, Willy Tarreau wrote: >> On Fri, Jul 24, 2020 at 07:52:20AM +0300, Baruch Siach wrote: >> > uClibc toolchains built with no dynamic library support don't provide >> > the dlfcn.h header. That leads to

Re: How to debug matching ACLs?

2020-07-24 Thread Willy Tarreau
Hello Ricardo, On Fri, Jul 24, 2020 at 10:36:59AM +0200, Ricardo Fraile wrote: (...) > I think that the "set-var" way is more flexible, as you can combine it with > any other variable that helps to identify the client request. The proposed > "here" converter can helps more. OK, I'll try to think

Re: How to debug matching ACLs?

2020-07-24 Thread Ricardo Fraile
Hello Willy, Following your suggestions, I've been testing the "debug" solution (in a 2.2 HAproxy) with this sample conf: http-request use-service prometheus-exporter if { path,debug(buf0) -m beg /metrics } seeing from the socket the entries registered on buf0: # echo "show events

Re: Haproxy 2.2.0 segfault

2020-07-24 Thread Christopher Faulet
Le 24/07/2020 à 10:34, Sander Klein a écrit : On 2020-07-20 21:41, Sander Klein wrote: On 2020-07-20 19:16, Christopher Faulet wrote: Le 20/07/2020 à 17:22, Sander Klein a écrit : On 2020-07-20 16:38, Christopher Faulet wrote: Could you retry with the latest 2.2 snapshot

Re: Haproxy 2.2.0 segfault

2020-07-24 Thread Sander Klein
On 2020-07-20 21:41, Sander Klein wrote: On 2020-07-20 19:16, Christopher Faulet wrote: Le 20/07/2020 à 17:22, Sander Klein a écrit : On 2020-07-20 16:38, Christopher Faulet wrote: Could you retry with the latest 2.2 snapshot

Re: [PATCH] BUG/MEDIUM: tools: fix build with static only toolchains

2020-07-24 Thread Willy Tarreau
On Fri, Jul 24, 2020 at 07:40:01AM +0200, Willy Tarreau wrote: > On Fri, Jul 24, 2020 at 07:52:20AM +0300, Baruch Siach wrote: > > uClibc toolchains built with no dynamic library support don't provide > > the dlfcn.h header. That leads to build failure: > > > > CC src/tools.o > >