Re: segfault with 1.6 @10ec214f41385b231a0c4c529b7b555caf5280bb

2015-09-02 Thread Willy Tarreau
Hi guys, On Wed, Sep 02, 2015 at 08:44:21AM +0200, Cyril Bonté wrote: > I haven't made some tests yet, but I guess the issue is on srv_conn due > to this part of code in proto_http.c : > if (((s->txn->flags & TX_CON_WANT_MSK) != TX_CON_WANT_KAL) || > !si_conn_ready(>si[1])) { >

Re: [PATCH] Support statistics in multi-process mode

2015-09-02 Thread Philipp Kolmann
Hi Willy, I saw once a message that you forgot about this patch, but never saw any comment on this ever again: On 04/24/15 12:34, root wrote: From: HiepNV Signed-off-by: root --- Makefile | 4 +- include/proto/shm_proxy.h | 28

Re: Haproxy and postfix SMTPS - can't get haproxy and postfix talking to each other

2015-09-02 Thread Thomas Heil
Hi, On 31.08.2015 13:44, Lukas Erlacher wrote: > Hi, > >> >> Could be send your complete config and remove private information? Could >> you also please give us the output of haproxy -vv? >> > > Full config: http://ix.io/ky6 thanks. > > haproxy -vv: > > HA-Proxy version 1.5.3 2014/07/25 >

Re: Fix triggering of runtime DNS resolution?

2015-09-02 Thread Baptiste
On Thu, Sep 3, 2015 at 1:11 AM, Baptiste wrote: > On Thu, Sep 3, 2015 at 12:56 AM, Conrad Hoffmann > wrote: >> Hello, >> >> it's kind of late and I am not 100% sure I'm getting this right, so would >> be great if someone could double-check this: >> >>

Can HAProxy loadbalance multiple requests send through single TCP connection

2015-09-02 Thread Prabu rajan
Hi Team, Our client to HAProxy establishes single TCP connection and continues to send messages. We would like to know, is there a way to load balance those messages across the services sitting behind HAProxy. Please advise. Regards, Prabu

Re: Can HAProxy loadbalance multiple requests send through single TCP connection

2015-09-02 Thread Bryan Talbot
TCP really has no notion of "messages", it's all just bytes. So no, this would not be possible with plain TCP. -Bryan On Wed, Sep 2, 2015 at 12:05 PM, Prabu rajan wrote: > Hi Team, > > Our client to HAProxy establishes single TCP connection and continues to > send

Re: Fix triggering of runtime DNS resolution?

2015-09-02 Thread Baptiste
On Thu, Sep 3, 2015 at 12:56 AM, Conrad Hoffmann wrote: > Hello, > > it's kind of late and I am not 100% sure I'm getting this right, so would > be great if someone could double-check this: > > Essentially, the runtime DNS resolution was never triggered for me. I > tracked

Re: [PATCH] DOC: mention support for RFC 5077 TLS Ticket extension in starter guide

2015-09-02 Thread Cyril Bonté
Hi all, Le 31/08/2015 11:59, Pavlos Parissis a écrit : Maybe reStructuredText as a format and Sphinx tool could help here, but it will require quite a bit of work to migrate to. It was evocated, I'm not opposed to it, I just want to ensure first that people don't have to *learn* the doc

Hashing fetched samples / strings

2015-09-02 Thread Paul Pfaff
I was wondering if there is a way to hash fetched sample strings - for example I have api servers and haproxy servers - I want HAProxy to set a header (i.e.'X-Secure') with a hashed concatenation of the request id and a 'shared secret' that I can have on both api and haproxy through configuration

Fix triggering of runtime DNS resolution?

2015-09-02 Thread Conrad Hoffmann
Hello, it's kind of late and I am not 100% sure I'm getting this right, so would be great if someone could double-check this: Essentially, the runtime DNS resolution was never triggered for me. I tracked this down to a signed/unsigned problem in the usage of tick_is_expired() from checks.c:2158.

Re: Rate Limiting - Stick-Table Entry Expiration

2015-09-02 Thread Hugues Alary
Hi Willy, Thank you for your detailed and clear answer. I somehow missed it when you sent it 8 days ago. > It's the sc0_get_gpc0() which refreshes the entry. I did not realize that. This is very good to know. I will definitely try your suggestion and report back here. -Hugues On Tue, Aug 25,

Re: Lua outbound Sockets in 1.6-dev4

2015-09-02 Thread Thierry FOURNIER
Thank you, Now I'm sure that the connection is establish. I see also that HAProxy close the connection 3seconds later, according with the timeout. Now the hard work begin :) I can't reproduce the bug. I agree your conclusion, the error message "Can't connect" is found only once in the HAProxy

Re: Lua outbound Sockets in 1.6-dev4

2015-09-02 Thread Michael Ezzell
You are NOT able to reproduce? I misunderstood your previous comment. Further testing suggests (to me) that this is a timing issue, where HAProxy does not discover that the connection is established, if connection establishment doesn't happen within a very, very short window after the connection

Re: segfault with 1.6 10ec214f41385b231a0c4c529b7b555caf5280bb

2015-09-02 Thread Jesse Hathaway
Cyril Bonté writes: > In some conditions, srv_conn is set to NULL but is then used later. Awesome, I will roll out a new version based on master today, thanks Cyril!

Correlate requests on multiple frontends based on src

2015-09-02 Thread Mihai Vintila
Hi All, It is possible to correlate requests from multiple frontends so can i direct the request to one frontend to specific backend servers based on the backend servers accessed by the same ip address on another frontend ? To understand the scenario: MySQL Master 1 < -> MySQL Master 2