From 7cd68845caf165729a281714fe579047fdd60830 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Thu, 19 Dec 2024 17:17:10 +0100 Subject: [PATCH] forgot to reset timer on recv data --- solanaceae/ngc_ft1/ngcft1.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/solanaceae/ngc_ft1/ngcft1.cpp b/solanaceae/ngc_ft1/ngcft1.cpp index f5013a8..7e348e7 100644 --- a/solanaceae/ngc_ft1/ngcft1.cpp +++ b/solanaceae/ngc_ft1/ngcft1.cpp @@ -575,6 +575,7 @@ bool NGCFT1::onEvent(const Events::NGCEXT_ft1_data& e) { } auto& transfer = peer.recv_transfers[e.transfer_id].value(); + transfer.timer = 0.f; // do reassembly, ignore dups transfer.rsb.add(e.sequence_id, std::vector(e.data)); // TODO: ugly explicit copy for what should just be a move