Dave,

> This is currently not possible with HAproxy. It can not alter or check
> anything inside the HTTP body currently. You can only access 
> inside the HTTP header section here.

I don't believe that any load balancer will be able to do this
(dangerous statement!).

It would require the load balancer to buffer the entire request and
search the entire body to determine where it will need to send to
request. This kind of approach would fall apart under fairly light load
and/or require exceptionally large quantities of RAM.

If there are products that can do this, open source or commerical I
would be somewhat interested to know about them, I've never needed to do
anything like it but it's always useful to have more tools in your tool
box.

If you can find a tool that does it you'll probably want to deploy it
behind haproxy with a simpler URL based ACL to send it to it, that way
you won't be unncessarily analysing the full body of every POST.

Good luck,

-JohnF

Reply via email to