Re: A patch for haproxy 1.3.15.7 (HTTP-ECV)

2009-02-20 Thread FinalBSD
Hi Willy, I'm sorry, I think these two features are actullay the same, so I just give you one patch. Maybe you should do some optimization for my code, but it's works now. Now we can use: option httpchk GET /http-check.php HTTP/1.0 http-check expect ! status 2.. server

Re: A patch for haproxy 1.3.15.7 (HTTP-ECV)

2009-02-18 Thread Malcolm Turnbull
FinalBSD, Ace, I was hoping someone would add that feature. Just tested it and it works perfectly. My tests were: 1) check index.html for value mytesttext - result - OK site up - CORRECT (text is present on my page) 2) check index.html for value not found - result - site down - CORRECT (text

Re: A patch for haproxy 1.3.15.7 (HTTP-ECV)

2009-02-18 Thread FinalBSD
Hi Willy and Malcolm, Thanks for the reply, and the comments are perfectly, expect we can see the new features in the next release:) thanks again. 2009/2/19 Willy Tarreau w...@1wt.eu Hi Malcolm, On Wed, Feb 18, 2009 at 12:39:08PM +, Malcolm Turnbull wrote: FinalBSD, Ace, I was