Merge pull request #6570 from Icinga/bugfix/tls-anonymous-clients-limit

Increase limit for simultaneously connected anonymous TLS clients
This commit is contained in:
Michael Friedrich 2018-08-23 17:13:41 +02:00 committed by GitHub
commit 7a22113f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1384,7 +1384,7 @@ double ApiListener::CalculateZoneLag(const Endpoint::Ptr& endpoint)
bool ApiListener::AddAnonymousClient(const JsonRpcConnection::Ptr& aclient)
{
boost::mutex::scoped_lock lock(m_AnonymousClientsLock);
if (m_AnonymousClients.size() > 25)
if (m_AnonymousClients.size() > 100)
return false;
m_AnonymousClients.insert(aclient);