Re: SNI and haproxy backend selection.

2016-02-20 Thread Jeff Palmer
You'd probably want to use host header ACLs, and then a use_backend with each acl to select the correct backend. On Feb 20, 2016 7:12 PM, "Eliezer Croitoru" wrote: > Is it possible to have one TLS frontend(with wildcard certificate) port > that will select the backends

SNI and haproxy backend selection.

2016-02-20 Thread Eliezer Croitoru
Is it possible to have one TLS frontend(with wildcard certificate) port that will select the backends based on the TLS SNI? having one specific default for SNI-less connections? Eliezer

Re: How to pass “Host” header from client request to backend server

2016-02-20 Thread Carolina Simões Gomes
I solved this, the solution was to add "capture header host" in haproxy.cfg and get the host header info from stream->req_cap array. [Carolina Gomes] PhD Student University of Toronto +1 (416) 931-4774 On Mon, Feb 15, 2016 at 2:58 PM, Carolina Simões Gomes < carolina.sgo...@gmail.com> wrote: >

Re: [BUG] core.msleep yields forever

2016-02-20 Thread Thierry FOURNIER
thank you for the tests. Thierry On Sat, 20 Feb 2016 17:33:14 + Robert Samuel Newson wrote: > Hi, > > With only the new patch to hlua_applet_tcp_fct, I've altered my msleep call > to 200 and use apachebench to confirm close to 5 requests per second. > > Requests per

Re: [BUG] core.msleep yields forever

2016-02-20 Thread Robert Samuel Newson
Hi, With only the new patch to hlua_applet_tcp_fct, I've altered my msleep call to 200 and use apachebench to confirm close to 5 requests per second. Requests per second:4.88 [#/sec] (mean) So, new patch works for me. B. > On 20 Feb 2016, at 17:10, Thierry FOURNIER

Re: [BUG] core.msleep yields forever

2016-02-20 Thread Thierry FOURNIER
Hi, Thank you Robert for the bug repport, I reproduced the bug perfectly. Thank you Cyril for the analysis. For information, the flag CTRLYIELD indicates that the yield is required by lua automatic interrupt system and not by some function. So the core must give back the hand to the haproxy core

Re: [BUG] core.msleep yields forever

2016-02-20 Thread Robert Samuel Newson
with those changes, and altering my sleep to 1200; time curl localhost:6000 hello curl localhost:6000 0.01s user 0.00s system 0% cpu 1.215 total I'd say you're on to something :) > On 19 Feb 2016, at 23:25, Cyril Bonté wrote: > > Hi Robert, > > I add Thierry to the

Re: [PATCH 2/4] MINOR: mailers, cfg: make time available for connection attempts to mailserver configurable with new 'timeout mail ' setting

2016-02-20 Thread Willy Tarreau
On Sat, Feb 20, 2016 at 02:48:55PM +0100, P.Baauw wrote: > Added a small configuration section. applied, thank you Pieter, Willy

Re: [PATCH 2/4] MINOR: mailers, cfg: make time available for connection attempts to mailserver configurable with new 'timeout mail ' setting

2016-02-20 Thread P.Baauw
Hi Willy, Op 17-2-2016 om 10:27 schreef Willy Tarreau: Hi Pieter, for this one, could you please add an entry in the doc (configuration.txt) ? I've re-adjusted the commit message already, you can update this patch. Thanks, Willy Added a small configuration section. Regards, Pieter From