aboutsummaryrefslogtreecommitdiffstats
path: root/icnet
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2018-02-26 14:08:59 +0100
committerMauro Sardara <msardara+fdio@cisco.com>2018-02-26 15:29:27 +0100
commitfac06d1485609520b6eabae2a5504eba8b91e5ef (patch)
treeb6660ea2d9a6546fbb219dabcb6ac96ca0abcbce /icnet
parent1d4ce83ccc5143230fb1b8e8460073a51a0c9121 (diff)
Minor fix for package build, delete pending interest after timeout expiration.
Change-Id: I9649bcee4a6daa8dcf2183fcfd903d8806798f52 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'icnet')
-rw-r--r--icnet/ccnx/icnet_ccnx_portal.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/icnet/ccnx/icnet_ccnx_portal.cc b/icnet/ccnx/icnet_ccnx_portal.cc
index 33e8c82f..c13a2e58 100644
--- a/icnet/ccnx/icnet_ccnx_portal.cc
+++ b/icnet/ccnx/icnet_ccnx_portal.cc
@@ -73,6 +73,8 @@ void Portal::sendInterest(const Interest &interest,
it->second->getOnTimeoutCallback()(*it->second->getInterest());
}
}
+
+ pending_interest_hash_table_.erase(name);
};
pend_interest->startCountdown(timer_callback);