sslproc: don't send updated config to dead/shutdown sslds

They might be running older versions of the SSL library that
doesn't support the key type or ciphers being configured.
This commit is contained in:
Simon Arlott 2016-04-29 07:35:43 +01:00
parent 036cafaaaf
commit 1cdf323be9
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View file

@ -772,6 +772,10 @@ ssld_update_config(void)
RB_DLINK_FOREACH(ptr, ssl_daemons.head) RB_DLINK_FOREACH(ptr, ssl_daemons.head)
{ {
ssl_ctl_t *ctl = ptr->data; ssl_ctl_t *ctl = ptr->data;
if (ctl->dead || ctl->shutdown)
continue;
ssld_update_config_one(ctl); ssld_update_config_one(ctl);
} }
} }