[BUG] default ACLs did not properly set the ->requires flag

This bug caused session initialization not to always allocate
the hdr_idx struct for default ACLs involving HTTP content.
This commit is contained in:
Willy Tarreau 2009-07-12 09:21:30 +02:00
parent bedb9bad67
commit a55b7dc528

View File

@ -848,6 +848,7 @@ struct acl *find_acl_default(const char *acl_name, struct list *known_acl)
goto out_free_name;
cur_acl->name = name;
cur_acl->requires |= acl_expr->kw->requires;
LIST_INIT(&cur_acl->expr);
LIST_ADDQ(&cur_acl->expr, &acl_expr->list);
if (known_acl)