TCP: Fixes - allow for live monitoring of ACK progress

This commit is contained in:
2026-03-04 15:54:40 +01:00
parent 3f8736dd34
commit 536fc0761d
8 changed files with 318 additions and 15 deletions

View File

@@ -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;