[PATCH] two patches about code style and manual

2013-12-11 Thread Godbach
Hi Willy, Please check the attachments for two patches: Patch0001: MINOR: code style: use tabs to indent codes Patch0002: DOC: checkcache: block responses with cacheable cookies There is also another problem I want to talk about stick table. The following codes are from lastest snapshot: cfgpa

Re: [PATCH] two patches about code style and manual

2013-12-11 Thread Willy Tarreau
Hi Godbach, On Wed, Dec 11, 2013 at 08:34:57PM +0800, Godbach wrote: > Hi Willy, > > Please check the attachments for two patches: > > Patch0001: MINOR: code style: use tabs to indent codes > Patch0002: DOC: checkcache: block responses with cacheable cookies Thanks, I'm applying them. I'll rena

Re: [PATCH] two patches about code style and manual

2013-12-11 Thread Godbach
Hi Willy, On 2013/12/11 20:43, Willy Tarreau wrote: Hi Godbach, There is also another problem I want to talk about stick table. The following codes are from lastest snapshot: (...) If stktable_init() fails, HAProxy will exit eventually. I can submit a new patch for this issue if you agree

Re: [PATCH] two patches about code style and manual

2013-12-11 Thread Willy Tarreau
On Wed, Dec 11, 2013 at 09:28:59PM +0800, Godbach wrote: > Please check the attachment for the patch: > > Patch0001: BUG/MINOR: check_config_validity: check the returned value of > stktable_init() Applied, thanks! Willy

Replying to spam threads

2013-12-11 Thread Jonathan Matthews
My apologies to list members for replying to a spam thread and potentially screwing up mail classification at your end. My mistake. Jonathan

"git clone http://git.1wt.eu/git/haproxy.git" hangs!

2013-12-11 Thread Qingshan Xie
Hello,  I could not download haproxy source via "git clone http://git.1wt.eu/git/haproxy.git"; successfully, it just hung, no return.   Googled it, seems it happened before due to the cache, but seems the issue still there.  Could someone help me to download it successfully? Thanks, Q.Xie

Re: Haproxy Load-Balance Scaling

2013-12-11 Thread Qingshan Xie
Thanks Lukas and Baptiste for your advices, which are very helpful. It is clear to me that, the "peers" setup is needed for scaling the multi-master haproxy instances. According to Peers doc at  http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#3.5, the stick-table is used for sync mu

How to make HAProxy rotate more faster?

2013-12-11 Thread Qi
Hello, I have set up rotating proxies with HAProxy successfully. Following is part of haproxy.cfg; frontend RotatingProxies1000 bind 0.0.0.0:1000 default_backend Proxies1000 option http_proxy option httpclose option http-use-proxy-header backend Proxi