CcnxConsumer doubles timeout upon NACK and Timout
diff --git a/apps/ccnx-consumer.cc b/apps/ccnx-consumer.cc
index edac879..e4ebcd3 100644
--- a/apps/ccnx-consumer.cc
+++ b/apps/ccnx-consumer.cc
@@ -314,6 +314,7 @@
m_retxSeqs.insert (seq);
NS_LOG_INFO ("After: " << m_retxSeqs.size ());
+ m_rtt->IncreaseMultiplier (); // Double the next RTO ??
ScheduleNextPacket ();
}
@@ -322,6 +323,7 @@
{
// std::cout << Simulator::Now () << ", TO: " << sequenceNumber << ", current RTO: " << m_rtt->RetransmitTimeout ().ToDouble (Time::S) << "s\n";
+ m_rtt->IncreaseMultiplier (); // Double the next RTO
m_rtt->SentSeq (SequenceNumber32 (sequenceNumber), 1); // make sure to disable RTT calculation for this sample
m_retxSeqs.insert (sequenceNumber);
ScheduleNextPacket ();