mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-13 09:01:24 +00:00
MINOR: spoe: Don't stop disabled proxies
SPOE register a signal handler to be able to stop SPOE applets ASAP during soft-stop. Disabled proxies must be ignored at this staged because they are not fully configured. For now, it is useless but this change is mandatory to fix a bug.
This commit is contained in:
parent
16e314150a
commit
7f4ffad46e
@ -2987,6 +2987,14 @@ spoe_sig_stop(struct sig_handler *sh)
|
||||
while (p) {
|
||||
struct flt_conf *fconf;
|
||||
|
||||
/* SPOE filter are not initialized for disabled proxoes. Move to
|
||||
* the next one
|
||||
*/
|
||||
if (p->flags & PR_FL_DISABLED) {
|
||||
p = p->next;
|
||||
continue;
|
||||
}
|
||||
|
||||
list_for_each_entry(fconf, &p->filter_configs, list) {
|
||||
struct spoe_config *conf;
|
||||
struct spoe_agent *agent;
|
||||
|
Loading…
Reference in New Issue
Block a user