mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-15 12:01:12 -04:00
BUG/MEDIUM: peers: old stick table updates could be repushed.
Because the stick table updates tree was not properly initialized to EB_ROOT_UNIQUE.
This commit is contained in:
parent
234fc3c31e
commit
1c6235dbba
1 changed files with 1 additions and 0 deletions
|
|
@ -395,6 +395,7 @@ int stktable_init(struct stktable *t)
|
|||
if (t->size) {
|
||||
memset(&t->keys, 0, sizeof(t->keys));
|
||||
memset(&t->exps, 0, sizeof(t->exps));
|
||||
t->updates = EB_ROOT_UNIQUE;
|
||||
|
||||
t->pool = create_pool("sticktables", sizeof(struct stksess) + t->data_size + t->key_size, MEM_F_SHARED);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue