aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-05-24 15:12:20 +0200
committerMauro Sardara <msardara@cisco.com>2019-05-24 15:12:20 +0200
commit052cc4a393236f0433c61cc1d10c6d90f0194321 (patch)
tree54eea44e5889919d97203f56b9b6e283c3706a03
parentc219dcd814551f531b0ee98b5c5d835491f51c85 (diff)
[HICN-205] Update statistics across different download sessions in RAAQM
Change-Id: I75f074413f5b829769ca9908253ffe389ec3bd3d Signed-off-by: Mauro Sardara <msardara@cisco.com>
-rw-r--r--libtransport/src/hicn/transport/protocols/raaqm.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtransport/src/hicn/transport/protocols/raaqm.cc b/libtransport/src/hicn/transport/protocols/raaqm.cc
index 8960e08fa..574693c51 100644
--- a/libtransport/src/hicn/transport/protocols/raaqm.cc
+++ b/libtransport/src/hicn/transport/protocols/raaqm.cc
@@ -105,6 +105,7 @@ void RaaqmTransportProtocol::reset() {
std::queue<Interest::Ptr> empty;
std::swap(interest_to_retransmit_, empty);
current_window_size_ = 1;
+ stats_.reset();
// Reset reassembly component
BaseReassembly::reset();