Re: [PATCH v2] *_dom matching header functions now also split on :

2011-09-10 Thread Finn Arne Gangstad
On Fri, Sep 09, 2011 at 09:03:15PM +0200, Willy Tarreau wrote: Hi Finn, Yes, thanks for the update, I noticed this too and fixed it during tests. I'm OK with this method. I have just replaced the macros with inline functions (which I verified produced the same code) because the result is

Re: [PATCH v2] *_dom matching header functions now also split on :

2011-09-10 Thread Willy Tarreau
On Sat, Sep 10, 2011 at 09:59:46AM +0200, Finn Arne Gangstad wrote: On Fri, Sep 09, 2011 at 09:03:15PM +0200, Willy Tarreau wrote: Hi Finn, Yes, thanks for the update, I noticed this too and fixed it during tests. I'm OK with this method. I have just replaced the macros with inline

How to block empty User-Agent strings?

2011-09-10 Thread mattias.edman
Hi, I have been using haproxy for my lab servers for a while and I like it. But i have seen in my web server logs (iis) that I get empty User-Agent strings on most attempts to access files that not exists. Some examples: #Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem

Re: How to block empty User-Agent strings?

2011-09-10 Thread Willy Tarreau
Hi Matthias, On Sat, Sep 10, 2011 at 10:19:28PM +0200, mattias.ed...@menco.se wrote: Hi, I have been using haproxy for my lab servers for a while and I like it. But i have seen in my web server logs (iis) that I get empty User-Agent strings on most attempts to access files that not exists.

Re: Increase log size in config.

2011-09-10 Thread Willy Tarreau
On Thu, Sep 08, 2011 at 04:53:18PM +0200, Damien Hardy wrote: By the way, haproxy could be configured with default max size at 1024 and if we want to increase it by config it may be available (as long as we are not using a real syslog server). My concern is about network device with UDP

Re: Error 504

2011-09-10 Thread Willy Tarreau
Hi Christophe, On Thu, Sep 08, 2011 at 06:54:29AM -0700, Christophe Rahier wrote: Yes ... Is it possible to improve my config? Well, your config already allows a server to take as much as 50 seconds to respond, and still some requests don't respond within this delay. This is really huge and

Re: Can HAProxy behave like NginX with option proxy_next_upstream?

2011-09-10 Thread Willy Tarreau
Hi Ernesto, On Thu, Sep 08, 2011 at 10:32:05AM -0400, Ernesto Rodriguez Reina wrote: Hi Everyone! We move from nginx to haproxy for load balancing and all have been great! All we do with nginx (as balancer) we have been able to do it using haproxy, except for reprocessing a request on http

[ANNOUNCE] haproxy 1.5-dev7

2011-09-10 Thread Willy Tarreau
Hi all, Five months have elapsed since 1.5-dev6. A massive amount of changes was merged since then. Most of them were cleanups and optimizations. A number of changes were dedicated to making listeners more autonomous. The immediate effect is a more robust handling of resource saturation, and the

Re: scope of acls

2011-09-10 Thread Willy Tarreau
Hi Hank, On Thu, Sep 08, 2011 at 03:26:39AM -0700, Hank A. Paulson wrote: I was wondering if acls that I create in the frontend should be available in backends, too? I was getting errors when I tried but the error disappeared when I either moved the reqadd/rspadd to the frontend or if I

Re: [ANNOUNCE] haproxy 1.5-dev7

2011-09-10 Thread Willy Tarreau
I forgot to add something : I have updated the README file to request a change in the format of the subject in patches. To put it short, I'd like that we avoid the square brackets for the parts we want to keep in the commit message. The reason is that Git either removes all words enclosed within