On 2012-07-29 12:56, Reve wrote: > How about parsing the same thing but if those have been posted as post, not > get.
When POSTing data, it will be transmitted in the request body. As the body size can be of an arbitrary size and caching and potentially parsing it would be a really complex, slow and potentially massively resource intensive process, HAProxy doesn't do that at all. That means, you can only use the HTTP headers for making a routing decision. Once all headers are read, the request will be dispatched and non of the following content will be prsed anymore but will be directly forwarded (with very restricted exceptions of allowing the check of binary data at fixed predefined byte offsets in the body). That said, you will not be able to use ACLs for matching structured data in the body right now. There are some areas that can optionally read part of the body in 1.5-dev t least (e.g. some balance algorithms) but it is not generically available right now. That might change until the final 1.5 release but is at the discretion of Willy who is currently rebuilding much of the ACL matching engine. --Holger