]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: make all ACL fetch function use acl_prefetch_http()
authorWilly Tarreau <w@1wt.eu>
Mon, 16 Apr 2012 12:42:55 +0000 (14:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:10 +0000 (20:57 +0200)
commitc0239e0425880bc178945845e7086f8aa643f55d
treeaa80cc8c754da88b6188a18dee3ed57bd77d19ce
parent14174bc4c018111d93560874d2390018870b14a7
MEDIUM: http: make all ACL fetch function use acl_prefetch_http()

All ACLs which need to process HTTP contents first call this function which
performs all the preliminary tests and also triggers the request parsing if
needed. A macro was written to simplify the code.

As a side effect, it's not required anymore to check for the HTTP ACL before
checking for HTTP contents.
doc/configuration.txt
src/proto_http.c