mirror of
https://github.com/clearlinux/telemetrics-client.git
synced 2026-06-16 02:35:52 +00:00
53d4c229a7
Payloads can exceed MAX_PAYLOAD_SIZE, in which case the probe will fail to send any data to the backend server. This was observed with BERT payloads, but other payload types can exceed the maximum size as well. This patch truncates the payload if needed. It is better to receive a truncated report than none. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>