]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: add support for "http-request redirect" rules
authorWilly Tarreau <w@1wt.eu>
Thu, 27 Dec 2012 11:19:02 +0000 (12:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Dec 2012 13:47:19 +0000 (14:47 +0100)
commit81499eb67d5c3007268ab1674806fff3308301f3
tree71c6385472f132c92ee79bcfa8386f6f50311353
parent4baae248fc77eaaad308fb5fbdf5d0bd71081f5b
MEDIUM: http: add support for "http-request redirect" rules

These are exactly the same as the classic redirect rules except
that they can be interleaved with other http-request rules for
more flexibility.

The redirect parser should probably be changed to stop at the condition
so that the caller puts its own condition pointer. At the moment, the
redirect rule and condition are parsed at once by build_redirect_rule()
and the condition is assigned to the http_req_rule.
doc/configuration.txt
include/types/proto_http.h
src/proto_http.c