TCP: Send FIFO max size (though not exposed at the moment)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user