Don't double RTO on timeout (only for NACKs)
diff --git a/apps/ccnx-consumer.cc b/apps/ccnx-consumer.cc
index 251db38..15d8a81 100644
--- a/apps/ccnx-consumer.cc
+++ b/apps/ccnx-consumer.cc
@@ -323,7 +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->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 ();
diff --git a/examples/link-failure-sprint.cc b/examples/link-failure-sprint.cc
index 4992a9d..903e406 100644
--- a/examples/link-failure-sprint.cc
+++ b/examples/link-failure-sprint.cc
@@ -284,7 +284,7 @@
Simulator::Schedule (Seconds (4.5), &CcnxTraceHelper::EnablePathWeights, &traceHelper,
prefix + "weights.log");
- experiment.Run (Seconds(30.0));
+ experiment.Run (Seconds(40.0));
}
cout << "Finish link failure scenario\n";