Re: Match when a header is missing?

2012-09-25 Thread Bryan Talbot
On Tue, Sep 25, 2012 at 12:30 PM, Shawn Heisey hapr...@elyograg.org wrote: I have a need to cause haproxy to match an ACL when a header (User-Agent) is missing. Can that be written with the configuration language in its current state? I'm running 1.4.18 here. How about acl

Re: Badrequest in 1.5-dev12

2012-09-25 Thread Willy Tarreau
Hi Alexey, [trimmed the CC list not to pollute mailboxes] On Tue, Sep 25, 2012 at 02:37:52PM +0400, Alexey Vlasov wrote: Here's another dump: [25/Sep/2012:12:54:00.380] frontend backend_pool610 (#15): invalid request backend backend_pool610 (#15), server NONE (#-1), event #0 src

Re: Match when a header is missing?

2012-09-25 Thread Baptiste
I looked into upgrading recently to a newer dev snapshot, but I see that the download section says may be broken for 1.5dev12. How is it broken? Would I be OK running 1.5dev12 as a front end for Solr servers? Hi, 1.5-dev branch may be broken because it is the development branch version.

Re: Match when a header is missing?

2012-09-25 Thread Willy Tarreau
On Tue, Sep 25, 2012 at 11:26:53PM +0200, Baptiste wrote: I looked into upgrading recently to a newer dev snapshot, but I see that the download section says may be broken for 1.5dev12. How is it broken? Would I be OK running 1.5dev12 as a front end for Solr servers? Hi, 1.5-dev

capturing arbitrary cookies and multiple X-Forwarded-For values

2012-09-25 Thread Scott Francis
one question/feature request, and one possible bug. first, the bug: haproxy is logging to a local syslog process with global log 127.0.0.1 local5 and syslog listening with: local5.* /var/log/haproxy haproxy.cfg contains the following frontend definition:

Re: Match when a header is missing?

2012-09-25 Thread Shawn Heisey
On 9/25/2012 3:58 PM, Willy Tarreau wrote: On Tue, Sep 25, 2012 at 11:26:53PM +0200, Baptiste wrote: 1.5-dev branch may be broken because it is the development branch version. For example, dev12 is broken on SSL if no SNI is sent (there may be other bugs). I would add that a number of people

Subscribe

2012-09-25 Thread Buri Arslon
My message didn't appear in the archive

Re: Can't configure haproxy

2012-09-25 Thread Baptiste
Hey, First, you don't need to subscribe to send a mail to the ML :) I think you're missing an option http-server-close in your default section (or locally in your frontend / backends). Currently, you're using the tunnel mode, where a connection is established to a server andis like a tunnel

Re: Can't configure haproxy

2012-09-25 Thread Buri Arslon
Thanks! I sent a message to haproxy@formilux.org 3 times but it didn't appear in the mailing list archive. And I saw several mails titled Subscribe and decided to try it. :) As I got your response after Subscribe maybe it worked ;D I added option http-server-close to my frontend and backend

Re: invalid / in in content-type causes 502 error

2012-09-25 Thread Willy Tarreau
Hi David, On Wed, Sep 26, 2012 at 09:45:32AM +0900, David Blomberg wrote: Recently had an issue develop. A page made long ago had a Content/Type instead of Content-type. It was working until recently and then started showing 502 errors. Issue resolved by user fixing their page to have