mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
BUG/MEDIUM: listener/thread: bypass shards setting on failed thread resolution
Aurlien reported that the BUG_ON(!new_ts.nbgrp) added in 2.8-dev3 by
commit 50440457e ("MEDIUM: config: restrict shards, not bind_conf to one
group each") can trigger on some invalid configs where the thread_set on
the "bind" line couldn't be resolved. The reason is that we still enter
the parsing loop (as it was done previously) and we possibly have no
group to work on (which was the purpose of this assertion). There we
need to bypass all this block on such a condition.
No backport is needed.
This commit is contained in:
parent
f91ab7a08c
commit
655a7bcac1
@ -2959,6 +2959,7 @@ init_proxies_list_stage1:
|
||||
curproxy->id, err, bind_conf->arg, bind_conf->file, bind_conf->line);
|
||||
free(err);
|
||||
cfgerr++;
|
||||
continue;
|
||||
}
|
||||
|
||||
/* apply thread masks and groups to all receivers */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user