My relevant haproxy configuration is:
acl has_bbb_cookie hdr(cookie) bbb=val
use_backend aaa if !has_bbb_cookie
use_backend bbb if has_bbb_cookie
the haproxy manual says: "The "hdr" criteria returns true if any of the headers matching the criteria match any of the strings."
BUT, as long, as there is a second cookie header in the request, like "aaa=val", haproxy redirects to backend aaa, which should not happen, since a "bbb=val" cookie is set... !has_bbb_cookie should return false..
Is it a bug, or my misunderstanding of something?