mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-27 00:57:03 -04:00
MINOR: listener: do not restrict CLI to first group anymore
Now that we're able to run listeners on any set of groups, we don't need to maintain a special case about the stats socket anymore. It used to be forced to group 1 only so as to avoid startup failures in case several groups were configured, but if it's done now, it will automatically bind the needed FDs to have one per group so this is no more an issue.
This commit is contained in:
parent
f1003ea7fa
commit
c38499ceae
1 changed files with 1 additions and 1 deletions
|
|
@ -1653,7 +1653,7 @@ int bind_complete_thread_setup(struct bind_conf *bind_conf, int *err_code)
|
|||
char *err;
|
||||
|
||||
err = NULL;
|
||||
if (thread_resolve_group_mask(&bind_conf->thread_set, (fe == global.cli_fe) ? 1 : 0, &err) < 0) {
|
||||
if (thread_resolve_group_mask(&bind_conf->thread_set, 0, &err) < 0) {
|
||||
ha_alert("%s '%s': %s in 'bind %s' at [%s:%d].\n",
|
||||
proxy_type_str(fe),
|
||||
fe->id, err, bind_conf->arg, bind_conf->file, bind_conf->line);
|
||||
|
|
|
|||
Loading…
Reference in a new issue