Re: Capture entire HTTP request (all headers one shot)

2016-09-28 Thread Manas Gupta
Hello, Just wondering if anyone has other ideas I can try? On Tue, Sep 20, 2016 at 4:31 PM, Manas Gupta <manas.gu...@gmail.com> wrote: > Hi Willy > Other captures work. > > Here are the examples > https://gist.github.com/manasg/7f4d674a5e07b140e170eadad6858a24 > >

Re: Capture entire HTTP request (all headers one shot)

2016-09-20 Thread Manas Gupta
t;w...@1wt.eu> wrote: > On Fri, Sep 16, 2016 at 06:08:40PM -0700, Manas Gupta wrote: > > Thanks for the info Willy. > > > > Is this a layer 6 capture? If yes, do I need to do something special to > log > > it? > > > > The following snippet logs just a

Re: Capture entire HTTP request (all headers one shot)

2016-09-16 Thread Manas Gupta
) len 4000 In log format :- hdump=%[capture.req.hdr(3)] On Wed, Sep 14, 2016 at 12:13 AM, Willy Tarreau <w...@1wt.eu> wrote: > Hi, > > On Tue, Sep 13, 2016 at 02:10:50PM -0700, Manas Gupta wrote: > > Thanks for the pointer. > > > > I need to log the val

Re: Capture entire HTTP request (all headers one shot)

2016-09-13 Thread Manas Gupta
Thanks for the pointer. I need to log the values of these headers as well. Any suggestions on how to do that? On Tue, Sep 13, 2016 at 1:28 PM, Pavlos Parissis <pavlos.paris...@gmail.com> wrote: > On 13/09/2016 09:58 μμ, Manas Gupta wrote: > > Hi, > > I am familiar with capt

Capture entire HTTP request (all headers one shot)

2016-09-13 Thread Manas Gupta
Hi, I am familiar with capturing individual HTTP headers in HAProxy 1.6.x ( http://blog.haproxy.com/2015/10/14/whats-new-in-haproxy-1-6/). This requires the header to be explicitly stated in the cfg For example to capture the via header - capture request header Via len 100 And then log via -

Re: HTTP Keep Alive : Limit number of sessions in a connection

2016-06-10 Thread Manas Gupta
uot;X" number of requests or time I want the clients to re-establish the connection even if HAProxy was not terminating. Thanks On Thu, Jun 9, 2016 at 8:15 AM, Manas Gupta <manas.gu...@gmail.com> wrote: > On Wed, Jun 8, 2016 at 10:44 PM, Willy Tarreau <w...@1wt.eu> wrote: >>

Re: HTTP Keep Alive : Limit number of sessions in a connection

2016-06-09 Thread Manas Gupta
On Wed, Jun 8, 2016 at 10:44 PM, Willy Tarreau <w...@1wt.eu> wrote: > On Wed, Jun 08, 2016 at 10:00:04PM -0700, Manas Gupta wrote: >> >> So I have a component which issues a lot of requests over a keep-alive >> >> connection to HAProxy. In the middle there is a

Re: HTTP Keep Alive : Limit number of sessions in a connection

2016-06-08 Thread Manas Gupta
On Wed, Jun 8, 2016 at 8:45 PM, Willy Tarreau <w...@1wt.eu> wrote: > On Wed, Jun 08, 2016 at 05:07:29PM -0700, Manas Gupta wrote: >> Thank you everyone for pitching in. >> >> I will take another stab at explaining my case/context. >> >> So I have a compon

Re: HTTP Keep Alive : Limit number of sessions in a connection

2016-06-08 Thread Manas Gupta
Thank you everyone for pitching in. I will take another stab at explaining my case/context. So I have a component which issues a lot of requests over a keep-alive connection to HAProxy. In the middle there is a TCP Load Balancer (hardware) which only intercepts new tcp connection requests. Once

Re: HTTP Keep Alive : Limit number of sessions in a connection

2016-06-07 Thread Manas Gupta
PM, Lukas Tribus <lu...@gmx.net> wrote: > Am 07.06.2016 um 20:31 schrieb Manas Gupta: >> >> Hi, >> We are running HAProxy (HTTP mode) behind a hardware load balancer >> operating at TCP (L3 layer). Clients go to the TCP loadbalancer which >> forwards the t

HTTP Keep Alive : Limit number of sessions in a connection

2016-06-07 Thread Manas Gupta
Hi, We are running HAProxy (HTTP mode) behind a hardware load balancer operating at TCP (L3 layer). Clients go to the TCP loadbalancer which forwards the traffic to 1 of the many HAProxy servers. The L3 load balancer only comes into play at new TCP connection creation. Once the connection is

Difference in errors conn on backend vs server

2016-04-29 Thread Manas Gupta
Hi, First off, thank you everyone who has contributed to HAProxy. Its great! I have a question about the stats reported. I have one server for a given backend. The backend row shows 7472error conn, but zero error conn on the line for server1. Why are these reported on 'backend' and not on