fw: Minor bug fixes for timeout sensitivity and ignored probes in ASF
refs #4983, #4193
Change-Id: I2cf9ac9b51be83e8b03dca40221c7e550c4878a1
diff --git a/daemon/fw/asf-strategy.hpp b/daemon/fw/asf-strategy.hpp
index cba941e..e0d40c7 100644
--- a/daemon/fw/asf-strategy.hpp
+++ b/daemon/fw/asf-strategy.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2019, Regents of the University of California,
+ * Copyright (c) 2014-2020, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -83,7 +83,7 @@
bool isNewInterest = true);
void
- onTimeout(const Name& interestName, FaceId faceId);
+ onTimeoutOrNack(const Name& interestName, FaceId faceId, bool isNack);
void
sendNoRouteNack(const FaceEndpoint& ingress, const shared_ptr<pit::Entry>& pitEntry);
@@ -92,7 +92,7 @@
AsfMeasurements m_measurements;
ProbingModule m_probing;
RetxSuppressionExponential m_retxSuppression;
- size_t m_maxSilentTimeouts = 0;
+ size_t m_nMaxSilentTimeouts = 3;
static const time::milliseconds RETX_SUPPRESSION_INITIAL;
static const time::milliseconds RETX_SUPPRESSION_MAX;