]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: proxy: remove acl_requires and just keep a flag "http_needed"
authorWilly Tarreau <w@1wt.eu>
Sun, 24 Mar 2013 06:22:08 +0000 (07:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 3 Apr 2013 00:13:00 +0000 (02:13 +0200)
commit25320b290645b091b031066671bf74b39cea8410
tree558729f7a66c59d9ae678b42c819a9478b5e6105
parent4a96bf5a5d9cf5b87b691a489cfb0ec41dc6a779
MEDIUM: proxy: remove acl_requires and just keep a flag "http_needed"

Proxy's acl_requires was a copy of all bits taken from ACLs, but we'll
get rid of ACL flags and only rely on sample fetches soon. The proxy's
acl_requires was only used to allocate an HTTP context when needed, and
was even forced in HTTP mode. So better have a flag which exactly says
what it's supposed to be used for.
include/proto/acl.h
include/types/proxy.h
src/acl.c
src/cfgparse.c
src/frontend.c
src/log.c
src/proto_tcp.c
src/proxy.c