Hi,

On Wed, Aug 18, 2010 at 03:51:52PM +0800, wilfred wang wrote:
> Hi,
> 
> In HAProxy 1.4, support was added for content switching in TCP mode as well
> as in HTTP mode.
> And HAProxy check the request about req_len, req_proto_http or others.
> And can we create a particular rule and let HAProxy check the request base
> on the rule, and switch the request to one server in server group.

depending on what you want to do, some things are possible. If you want to
parse an HTTP request, it is possible since 1.4 and you can use that result
to select a backend (server group). But in order to be able to parse an HTTP
request in TCP mode, you need first to match the req_proto_http, which will
ensure you have the complete request buffered.

Regards,
Willy


Reply via email to