Re: add header does not happen every request due to keepalive

2013-07-12 Thread Sachin Shetty
Thanks Emeric and Scott, I will try this out. Thanks Sachin On 7/12/13 12:27 AM, Emeric BRUN eb...@exceliance.fr wrote: original message- De: Sachin Shetty sshe...@egnyte.com A: haproxy@formilux.org Date: Thu, 11 Jul 2013 23:57:40 +0530

add header does not happen every request due to keepalive

2013-07-11 Thread Sachin Shetty
Hi, We need to add a header to every request that is being routed via haproxy, we were able to achieve with a simple add header instruction: reqadd X-Haproxy-L1:\ true However it seems haproxy only adds this request to the first request in a keep alive connection stream and this header is

Re: add header does not happen every request due to keepalive

2013-07-11 Thread Scott Hulbert
I would think you're looking for http-server-close which uses keepalive between client and HAProxy and opens a new connection for each request to the server, in turn allowing you to Layer 7 inspect and modify every request sent to your backends. Best, Scott Hulbert On Jul 11, 2013, at 11:27

Re: add header does not happen every request due to keepalive

2013-07-11 Thread Emeric BRUN
original message- De: Sachin Shetty sshe...@egnyte.com A: haproxy@formilux.org Date: Thu, 11 Jul 2013 23:57:40 +0530 - Hi, We need to add a header to every request that is being routed via haproxy, we were