mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
MINOR: proxies: Do stage2 initialization for sinks too
In check_config_validity(), we initialize the proxy in several stages. We do so for the sink list for stage1, but not for stage2. It may not be needed right now, but it may become needed in the future, so do it anyway.
This commit is contained in:
parent
658eaa4086
commit
c4aec7a52f
@ -4308,6 +4308,13 @@ int check_config_validity()
|
||||
goto init_proxies_list_stage2;
|
||||
}
|
||||
|
||||
if (init_proxies_list == cfg_log_forward) {
|
||||
init_proxies_list = sink_proxies_list;
|
||||
/* check if list is not null to avoid infinite loop */
|
||||
if (init_proxies_list)
|
||||
goto init_proxies_list_stage2;
|
||||
}
|
||||
|
||||
/*
|
||||
* Recount currently required checks.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user