Re: Weighted Backend's

2019-02-11 Thread James Root
eems to work, but I am looking for a way to do it without opening up a large amount of unix sockets. On Wed, Feb 6, 2019 at 11:43 AM Aleksandar Lazic wrote: > Hi James. > > Am 06.02.2019 um 16:16 schrieb James Root: > > Hi All, > > > > I am doing some research and hav

Weighted Backend's

2019-02-06 Thread James Root
to open unix sockets, but I couldn't find any examples or any leads in the haproxy docs. I was wondering if anyone on this list had any ideas to accomplish this without using extra unix sockets? Or an entirely different way to get the same effect? Thanks, James Root

[PATCH] Support statistics in multi-process mode

2015-04-24 Thread root
From: HiepNV hie...@vccloud.vn Signed-off-by: root hie...@vccloud.vn --- Makefile | 4 +- include/proto/shm_proxy.h | 28 +++ src/dumpstats.c | 59 ++- src/haproxy.c | 48 - src/shm_proxy.c | 439

[PATCH] Support multi-process statistics

2015-04-24 Thread root
From: HiepNV hie...@vccloud.vn This is a patch to support statistics in multi-process mode. It creates a memory region to hold total statistics of all processes in multi-process mode. HiepNV (1): Support statistics in multi-process mode Makefile | 4 +-

Re: How to configure HAProxy to modify response headers

2010-11-16 Thread Larry Root
I think thats exactly it. Thank you! --- Larry Root la...@armorgames.com Head of Web Development | 949.207.6063 Armor Games Inc. | http://armorgames.com On Tue, Nov 16, 2010 at 1:27 AM, Willy Tarreau w...@1wt.eu wrote: Hello, On Mon, Nov 15, 2010 at 06:08:00PM -0800, Larry Root wrote: So

Re: How to configure HAProxy to modify response headers

2010-11-15 Thread Larry Root
Thanks for the information on common practices. We are in fact trying to work around a misbehaving application. In the case of 304s its returning the wrong content-type and causing issues with browsers. Thank you for the help! larry --- Larry Root la...@armorgames.com Head of Web Development

Re: How to configure HAProxy to modify response headers

2010-11-15 Thread Larry Root
properly? Thanks larry --- Larry Root la...@armorgames.com Head of Web Development | 949.207.6063 Armor Games Inc. | http://armorgames.com On Thu, Nov 11, 2010 at 10:22 PM, Willy Tarreau w...@1wt.eu wrote: On Thu, Nov 11, 2010 at 04:28:46PM -0800, Larry Root wrote: Im struggling to figure out how

How to configure HAProxy to modify response headers

2010-11-11 Thread Larry Root
Im struggling to figure out how to modify the *Response* headers within haproxy. Here is the logic I would like to implement: IF response_status_code == 304 THEN remove header Content-Type I believe I need to setup an ACL rule to capture the status code part, and then use rspidel to