UINT32 GetPolicyInventory(CommSession *session, NXCPMessage *msg);
void ClearDataCollectionConfiguration();
-/**
- * Max message size
- */
-#define MAX_MSG_SIZE 4194304
-
/**
* SNMP proxy thread pool
*/
*/
void CommSession::readThread()
{
- SocketMessageReceiver receiver(m_hSocket, 4096, MAX_MSG_SIZE);
+ SocketMessageReceiver receiver(m_hSocket, 4096, MAX_AGENT_MSG_SIZE);
while(true)
{
if (!m_proxyConnection)