]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: session: implement the "use-server" directive
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Apr 2012 19:09:48 +0000 (21:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Apr 2012 19:14:10 +0000 (21:14 +0200)
commit4a5cadea400f9d6503a62f24399cb70292b8b5d7
treed6cdf36d65c6bbfcb7108c7c821472b888336e6f
parentceafb4aa9217cbca178dc7e92c94dc1dde0cfe2b
MEDIUM: session: implement the "use-server" directive

Sometimes it is desirable to forward a particular request to a specific
server without having to declare a dedicated backend for this server. This
can be achieved using the "use-server" rules. These rules are evaluated after
the "redirect" rules and before evaluating cookies, and they have precedence
on them. There may be as many "use-server" rules as desired. All of these
rules are evaluated in their declaration order, and the first one which
matches will assign the server.
doc/configuration.txt
include/types/buffers.h
include/types/proxy.h
src/cfgparse.c
src/haproxy.c
src/proto_http.c
src/proxy.c
src/session.c