forgot to reset timer on recv data
This commit is contained in:
parent
f40907d42a
commit
7cd68845ca
@ -575,6 +575,7 @@ bool NGCFT1::onEvent(const Events::NGCEXT_ft1_data& e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto& transfer = peer.recv_transfers[e.transfer_id].value();
|
auto& transfer = peer.recv_transfers[e.transfer_id].value();
|
||||||
|
transfer.timer = 0.f;
|
||||||
|
|
||||||
// do reassembly, ignore dups
|
// do reassembly, ignore dups
|
||||||
transfer.rsb.add(e.sequence_id, std::vector<uint8_t>(e.data)); // TODO: ugly explicit copy for what should just be a move
|
transfer.rsb.add(e.sequence_id, std::vector<uint8_t>(e.data)); // TODO: ugly explicit copy for what should just be a move
|
||||||
|
Loading…
Reference in New Issue
Block a user