mirror of https://github.com/Icinga/icinga2.git
parent
439251532e
commit
4cfbf6eb17
|
@ -122,6 +122,16 @@ void ApiListener::UpdateSSLContext(void)
|
|||
}
|
||||
|
||||
m_SSLContext = context;
|
||||
|
||||
for (const Endpoint::Ptr& endpoint : ConfigType::GetObjectsByType<Endpoint>()) {
|
||||
for (const JsonRpcConnection::Ptr& client : endpoint->GetClients()) {
|
||||
client->Disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
for (const JsonRpcConnection::Ptr& client : m_AnonymousClients) {
|
||||
client->Disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
void ApiListener::OnAllConfigLoaded(void)
|
||||
|
|
Loading…
Reference in New Issue