mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04:00
[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:
parent
bedb9bad67
commit
a55b7dc528
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue