Re: Syntax to capture tcp-request content? How to access the captured data later?

2017-04-26 Thread Swapnil Dubey
For logging please if you can try this to see if it works, though I have not tested it. log-format %{+Q}[req.payload(3,8)] On Wed, Apr 26, 2017 at 2:07 PM, Christian Rohmann < christian.rohm...@inovex.de> wrote: > On 25.04.2017 19:29, Swapnil Dubey wrote: > >> I had the s

Re: Syntax to capture tcp-request content? How to access the captured data later?

2017-04-25 Thread Swapnil Dubey
Just to make it clear that my answer is to solve the problem similar to what you mentioned in the link w.r.t mqtt. If you problem is different from that then it might not work. On Tue, Apr 25, 2017 at 10:59 PM, Swapnil Dubey wrote: > Hi Christian, > > I had the similar requirement and

Re: Syntax to capture tcp-request content? How to access the captured data later?

2017-04-25 Thread Swapnil Dubey
Hi Christian, I had the similar requirement and I had to add the following statement in order to make it work. I have put comment on the top of each statement. *# Acl to make haproxy wait till enough information is received from client to intercept and route* * acl client_wait req_len gt

tcp load balancing based on user information in client data

2017-03-16 Thread Swapnil Dubey
but new to HAProxy code. Thanks and Regards, Swapnil Dubey