TCP: Fixes - allow for live monitoring of ACK progress
This commit is contained in:
@@ -169,7 +169,8 @@ bool TCPStreamPusher::SendCalibration(const CompressedImage &message) {
|
||||
}
|
||||
|
||||
std::optional<ImagePusherAckProgress> TCPStreamPusher::GetAckProgress() const {
|
||||
ImagePusherAckProgress out;
|
||||
ImagePusherAckProgress out{
|
||||
};
|
||||
for (const auto &s : socket) {
|
||||
auto p = s->GetDataAckProgress();
|
||||
out.data_sent += p.data_sent;
|
||||
|
||||
Reference in New Issue
Block a user