Hello,

Thank you for your great product!

Could you please help me with my problem? I wanna configurate balancing
based on  tcp data from request. I have xml packets which goes over tcp
connections (request - response). So I've already configured several
server groups and now I need to define right server group based on value
containg in xml which I receives over tcp. For example, request tcp
contains the following data:
----request start----
<data>
    <general box="main" section="left" >
    <bla>
    <bla>
    <bla>
</data>
----request end----
So when haproxy receives such request, I need it to parse section
box="****" and based on its value choose right server groups. Let's say
based on regexp(or even with specified string), for example if request
contains box="main" then this request should be sent to server group1,
if - box="slave"  -> server group2 etc.

Once again, It's not http, it's tcp and there are no headers in request.

I was trying to find solution in the Internet(even to read manual) but
it was not successful for me.

You are last instance where I hope to find answers. Could It be possible
to configure haproxy in required way or not?

I've installed HA-Proxy version 1.5.5 2014/10/07

Thank you very much!

Reply via email to