[MEDIUM] add support for anonymous ACLs
authorWilly Tarreau <w@1wt.eu>
Mon, 1 Feb 2010 12:05:50 +0000 (13:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 1 Feb 2010 12:05:50 +0000 (13:05 +0100)
commit95fa4698f150867dee28e8f0eda4c09aa565c6d7
tree561b6244228164d835e18299bf1cc9c866be594f
parent711ad9eb270c0f9151f94c667b7506733f5e3d65
[MEDIUM] add support for anonymous ACLs

Anonymous ACLs allow the declaration of rules which rely directly on
ACL expressions without passing via the declaration of an ACL. Example :

   With named ACLs :

        acl site_dead nbsrv(dynamic) lt 2
        acl site_dead nbsrv(static)  lt 2
        monitor fail  if site_dead

   With anonymous ACLs :

        monitor fail if { nbsrv(dynamic) lt 2 } || { nbsrv(static) lt 2 }
doc/configuration.txt
src/acl.c
src/cfgparse.c