Re: What is the status of FastCGI in new 2.1 version?

2019-12-02 Thread Willy Tarreau
Hi guys, On Thu, Nov 28, 2019 at 06:18:00AM +, Aleksandar Lazic wrote: > > I'm so excited that HAProxy supports FastCGI, I would like to try this in > > our development env first. > > Just wonder what is the status of it? Full production ready? What's the > > performance? > > Well it's the

Re: [PATCH] DOC: Fix ordered list in summary

2019-12-02 Thread Willy Tarreau
Hi Julien, good catch, now merged, thanks. Willy

Re: [PATCH] DOC: clarify matching strings on binary fetches

2019-12-02 Thread Willy Tarreau
Hi Mathias, On Mon, Dec 02, 2019 at 09:01:56AM +, Mathias Weiersmüller (cyberheads GmbH) wrote: > Documentation patch provided - I would backport it all the way down to 1.5 as > it might save from headaches. Good point indeed, now merged, thank you! Willy

Re: Haproxy nbthreads + multi-threading lua?

2019-12-02 Thread Willy Tarreau
Hi Dave, On Mon, Dec 02, 2019 at 10:12:27AM -0600, Dave Chiluk wrote: > Since 2.0 nbproc and nbthreads are now mutually exclusive, are there > any ways to make lua multi-threaded? Unfortunately no. Lua itself is inherently single-threaded and even when you believe you're using multi-threading,

Re: OpenBSD/2.1.0 - weird syslogging?

2019-12-02 Thread Willy Tarreau
On Sun, Dec 01, 2019 at 01:16:13PM +0100, Philipp Buehler wrote: > Am 01.12.2019 12:00 schrieb Aleksandar Lazic: > > just a wild guess have you set "log-send-hostname" if not can you set > > it and tell us if anything is changed. > >

Re: [PATCH] BUG/MINOR: ssl: fix X509 compatibility for openssl < 1.1.0

2019-12-02 Thread Willy Tarreau
On Mon, Dec 02, 2019 at 12:27:34PM +0100, Emmanuel Hocdet wrote: > Hi, > > > Le 2 déc. 2019 à 08:12, William Lallemand a écrit : > > > > It seems to have break the build on centos 6, could you take a look at this > > ticket? > > > > https://github.com/haproxy/haproxy/issues/385 > > > > > >

订阅

2019-12-02 Thread wang yunxiang
订阅+1

[SPAM] Don’t follow outdated process for teknoids.com

2019-12-02 Thread Ethan Liam
*Hi **teknoids* *Team, * *Hope you are doing well.* *Building a website without including a descent strategy to publicize will be a complete waste of your hard-earned money. We understand the importance of your site and are here to reveal some valuable points that can boost your presence in

Re: How to log %[hdr_ip(X-Forwarded-For,-1)]

2019-12-02 Thread Aleksandar Lazic
Hi. Am 02.12.2019 um 13:40 schrieb JWD:  I have read this article many times, but still can't figure out how to do? I can't believe it as there is exact the solution you want in the example and doc. Can you give any detail tips? capture request header X-Forwarded-For len 15 This line

Haproxy nbthreads + multi-threading lua?

2019-12-02 Thread Dave Chiluk
Since 2.0 nbproc and nbthreads are now mutually exclusive, are there any ways to make lua multi-threaded? One of our proxy's makes heavy use of lua scripting. I'm not sure if this is still the case, but in earlier versions of HAProxy lua was single threaded per process. Because of this we were

[PATCH] BUG/MINOR: ssl: certificate choice can be unexpected with openssl >= 1.1.1

2019-12-02 Thread Emmanuel Hocdet
Hi, address #394 ++ Manu 0001-BUG-MINOR-ssl-certificate-choice-can-be-unexpected-w.patch Description: Binary data

[PATCH] BUG/MINOR: ssl: fix X509 compatibility for openssl < 1.1.0

2019-12-02 Thread Emmanuel Hocdet
Hi, > Le 2 déc. 2019 à 08:12, William Lallemand a écrit : > > It seems to have break the build on centos 6, could you take a look at this > ticket? > > https://github.com/haproxy/haproxy/issues/385 > > Fix tested with openssl 1.0.1 ++ Manu

Re: How to log %[hdr_ip(X-Forwarded-For,-1)]

2019-12-02 Thread Aleksandar Lazic
Hi. Am 02.12.2019 um 09:27 schrieb JWD: Hi,all I want to write %[hdr_ip(X-Forwarded-For,-1)] to log, how to do that? And how to log it with [if] confition? Like set-header below: http-request set-header X-Client-IP %[hdr_ip(X-Forwarded-For,-1)] if !{  hdr(X-Client-IP) -m found } { 

[PATCH] DOC: clarify matching strings on binary fetches

2019-12-02 Thread cyberheads GmbH
Documentation patch provided - I would backport it all the way down to 1.5 as it might save from headaches. Best regards Mathias > > It would be nice when you send us a patch to fix the doc. > > Regards > Aleks > > Nov 30, 2019 11:35:24 AM Mathias Weiersmüller (cyberheads GmbH) > : > > >

How to log %[hdr_ip(X-Forwarded-For,-1)]

2019-12-02 Thread JWD
Hi,all I want to write %[hdr_ip(X-Forwarded-For,-1)] to log, how to do that? And how to log it with [if] confition? Like set-header below: http-request set-header X-Client-IP %[hdr_ip(X-Forwarded-For,-1)] if !{ hdr(X-Client-IP) -m found } { hdr(X-Forwarded-For) -m found } http-request