From 8ac185af11d0bf2e61def4cbe73f8a927712cba4 Mon Sep 17 00:00:00 2001 From: Roxanne Skelly Date: Tue, 20 Aug 2019 16:33:29 -0700 Subject: [PATCH] Additional Grapics API info was added to the system info, which overflowed the amount of info that could be sent in a packet. --- libraries/networking/src/NodeList.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libraries/networking/src/NodeList.cpp b/libraries/networking/src/NodeList.cpp index 63a36bc97b..2c584b1c48 100644 --- a/libraries/networking/src/NodeList.cpp +++ b/libraries/networking/src/NodeList.cpp @@ -425,7 +425,15 @@ void NodeList::sendDomainServerCheckIn() { auto accountManager = DependencyManager::get(); packetStream << FingerprintUtils::getMachineFingerprint(); - auto desc = platform::getAll(); + platform::json all = platform::getAll(); + platform::json desc; + // only pull out those items that will fit within a packet + desc[platform::keys::COMPUTER] = all[platform::keys::COMPUTER]; + desc[platform::keys::MEMORY] = all[platform::keys::MEMORY]; + desc[platform::keys::CPUS] = all[platform::keys::CPUS]; + desc[platform::keys::GPUS] = all[platform::keys::GPUS]; + desc[platform::keys::DISPLAYS] = all[platform::keys::DISPLAYS]; + desc[platform::keys::NICS] = all[platform::keys::NICS]; QByteArray systemInfo(desc.dump().c_str()); QByteArray compressedSystemInfo = qCompress(systemInfo);