mirror of https://github.com/Icinga/icinga2.git
Raise the message size for anonymous client and pki request calls to 1MB
If one sends the full certificate chain, this previous limit of 64KB could be hit.
This commit is contained in:
parent
1c2a59bf63
commit
a1ec919f5b
|
@ -248,7 +248,8 @@ void JsonRpcConnection::MessageHandler(const String& jsonString)
|
|||
|
||||
bool JsonRpcConnection::ProcessMessage()
|
||||
{
|
||||
ssize_t maxMessageLength = 64 * 1024;
|
||||
/* Limit for anonymous clients (signing requests and not configured endpoints. */
|
||||
ssize_t maxMessageLength = 1024 * 1024;
|
||||
|
||||
if (m_Endpoint)
|
||||
maxMessageLength = -1; /* no limit */
|
||||
|
|
Loading…
Reference in New Issue