mirror of
https://github.com/Icinga/icinga2.git
synced 2025-05-14 19:40:16 +02:00
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…
x
Reference in New Issue
Block a user