]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http: add new direction-explicit sample fetches for headers and cookies
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Jan 2013 14:56:36 +0000 (15:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 3 Apr 2013 00:12:59 +0000 (02:12 +0200)
commit18ed2569f548d62228e2b7e34ee18d11a2d1a9e3
tree392b04a23da067591b220f213445d89d2ee953ae
parent9baae63d8d20067f97a7263e6317639e09fef800
MINOR: http: add new direction-explicit sample fetches for headers and cookies

Since "hdr" and "cookie" were ambiguously referring to the request or response
depending on the context, we need a way to explicitly specify the direction.
By prefixing the fetches names with "req." and "res.", we can now restrict such
fetches to the appropriate direction. At the moment the fetches are explicitly
declared by later we might think about having an automatic match when "req." or
"res." appears. These explicit fetches are now used by the relevant ACLs.
doc/configuration.txt
src/proto_http.c