TCP: Send FIFO max size (though not exposed at the moment)

This commit is contained in:
2026-03-05 20:26:46 +01:00
parent 1758417702
commit a53635b1ac
3 changed files with 17 additions and 16 deletions

View File

@@ -109,6 +109,7 @@ bool TCPImagePuller::SendAck(const PullerAckMessage &ack) {
h.ack_code = static_cast<uint32_t>(ack.error_code);
h.payload_size = ack.error_text.size();
h.ack_fifo_occupancy = cbor_fifo.GetCurrentUtilization();
h.ack_fifo_max_occupancy = cbor_fifo.Size();
if (!SendAll(&h, sizeof(h)))
return false;