]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: merge ACL and pattern cookie fetches into a single one
authorWilly Tarreau <w@1wt.eu>
Thu, 26 Apr 2012 19:26:10 +0000 (21:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:19 +0000 (20:57 +0200)
commit28376d62cbe15cae9cf5bc130ba52733abc1db5c
tree596e739cc70722d3fc6c228c5064645f9d73eebc
parent185b5c4a7b88d12b4a127dc820d58329433a4472
MEDIUM: http: merge ACL and pattern cookie fetches into a single one

It's easy to merge pattern and ACL fetches of cookies. It allows us
to remove two distinct fetch functions. The new function internally
uses an occurrence number to serve both purposes, but it didn't appear
worth exposing it outside so there is no keyword argument to set it.
However one of the benefits is that the "cookie" fetch for stick tables
now automatically adapts to requests and responses, so there is no more
need for set-cookie().
doc/configuration.txt
src/proto_http.c