remove hack that stopped working at some point
This commit is contained in:
@@ -153,8 +153,7 @@ void NGCFT1::updateSendTransfer(float time_delta, uint32_t group_number, uint32_
|
|||||||
peer.cca->onSent({idx, seq_id}, chunk_size);
|
peer.cca->onSent({idx, seq_id}, chunk_size);
|
||||||
} else {
|
} else {
|
||||||
std::cerr << "NGCFT1: failed to send packet (queue full?) --------------\n";
|
std::cerr << "NGCFT1: failed to send packet (queue full?) --------------\n";
|
||||||
peer.cca->onLoss({idx, seq_id}, false); // HACK: fake congestion event
|
peer.cca->onCongestion();
|
||||||
// TODO: onCongestion
|
|
||||||
can_packet_size = 0;
|
can_packet_size = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user