mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Increase limit for simultaneously connected anonymous TLS clients
This commit is contained in:
parent
8a172d39fe
commit
0dd168fe80
@ -1384,7 +1384,7 @@ double ApiListener::CalculateZoneLag(const Endpoint::Ptr& endpoint)
|
|||||||
bool ApiListener::AddAnonymousClient(const JsonRpcConnection::Ptr& aclient)
|
bool ApiListener::AddAnonymousClient(const JsonRpcConnection::Ptr& aclient)
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock lock(m_AnonymousClientsLock);
|
boost::mutex::scoped_lock lock(m_AnonymousClientsLock);
|
||||||
if (m_AnonymousClients.size() > 25)
|
if (m_AnonymousClients.size() > 100)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
m_AnonymousClients.insert(aclient);
|
m_AnonymousClients.insert(aclient);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user