haproxy/include
Willy Tarreau 51d861a44f MEDIUM: http: implement http-response redirect rules
Sometimes it's problematic not to have "http-response redirect" rules,
for example to perform a browser-based redirect based on certain server
conditions (eg: match of a header).

This patch adds "http-response redirect location <fmt>" which gives
enough flexibility for most imaginable operations. The connection to
the server is closed when this is performed so that we don't risk to
forward any pending data from the server.

Any pending response data are trimmed so that we don't risk to
forward anything pending to the client. It's harmless to also do that
for requests so we don't need to consider the direction.
2015-05-28 17:45:43 +02:00
..
common MAJOR: config: remove the deprecated reqsetbe / reqisetbe actions 2015-05-26 12:18:29 +02:00
import IMPORT: hash: import xxhash-r39 2015-04-29 19:15:21 +02:00
proto MINOR: http: prepare support for parsing redirect actions on responses 2015-05-28 17:43:11 +02:00
types MEDIUM: http: implement http-response redirect rules 2015-05-28 17:45:43 +02:00