unique-id-header and req.hdr

2017-01-26 Thread sendmaildevnull
I'm trying generate a unique-id-header only if one is not already provided in the request. If I provide the header in my request to haproxy I end up with duplicate headers, one with auto generated header and another with the user provided header. I attempted to use the technique mentioned here (

Re: Possible bug with haproxy 1.6.9/1.7.0: multiproc + resolvers cause DNS timeouts

2017-01-26 Thread Lukas Tribus
Hello, Am 29.11.2016 um 09:53 schrieb Willy Tarreau: Hi Joshua, [ccing Baptiste] On Tue, Nov 29, 2016 at 02:17:17AM -0500, Joshua M. Boniface wrote: Hello list! I believe I've found a bug in haproxy related to multiproc and a set of DNS resolvers. What happens is, when combining these two

Re: Gzip compression and transfer: chunked

2017-01-26 Thread Vladimir Mihailenco
>Just to be sure, here there is a typo error. You meant "HTML is compressed", right ? No, it was not compressed with Haproxy 1.6. AFAIK compression is automatically disabled for chunked responses in Haproxy <1.7 -

Re: Admin socket ACL's

2017-01-26 Thread Conrad Hoffmann
Hi Alex, you can totally do something like that with some preparations. We use the following setup: 1. We have a "tarpit" backend: backend tarpit timeout tarpit 30s reqtarpit 2. In our config, we have a permanent rules like this: acl blacklisted-cidr