the example I gave was fairly simple, consider a more complex scenario where you have something like:
acl ACL_sample hdr(Host) special-domain
acl ACL_sample hdr(Host) domain1 && path /path1
acl ACL_sample hdr(Host) domain2 && path /path2
acl ACL_sample hdr(Host) domain3 && path /path3
acl ACL_sample hdr(Host) domain4 && path /path4
# ... etc."
http-request set-header Header1 value1 if ACL_sample
http-request set-header Header2 value2 if ACL_sample
http-request set-header Header2 value2 if ACL_sample
http-request set-header Header2 value2 if ACL_sample
(I have a real use case that isn’t too different than this)
This results in a very long condition that is repeated several times.
A “meta” ACL that can combine multiple ACL’s (just like a condition today) would probably be a construct that it’s best suited for this.
Sure that would work, or there could be a new matcher that would look like:
acl ACL_combined condition ACL_some_domain ACL_some_path
or similar.