]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] report in the proxies the requirements for ACLs
authorWilly Tarreau <w@1wt.eu>
Fri, 10 Jul 2009 18:53:53 +0000 (20:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Jul 2009 21:09:39 +0000 (23:09 +0200)
commita9fb08317fd21361c9391db68a33591b41b13cf3
tree0d58920ac1473ba18f79328562937349db2a00db
parent1d0dfb155df56f256b615049a0d9333595a35501
[MINOR] report in the proxies the requirements for ACLs

This patch propagates the ACL conditions' "requires" bitfield
to the proxies. This makes it possible to know exactly what a
proxy might have to support for any request, which helps knowing
whether we have to allocate some space for certain types of
structures or not (eg: the hdr_idx struct).

The concept might be extended to a lot more types of information,
such as detecting whether we need to allocate some space for some
request ACLs which need a result in the response, etc...
include/types/proxy.h
src/cfgparse.c
src/proto_tcp.c