diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-11-22 13:50:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-11-22 13:50:37 +0000 |
commit | fc47fb553d3ab61079bb288942b0328e4b3392fb (patch) | |
tree | d17c640227076b6bdb83ed761f498990a6c9890b /libtransport/src/hicn/transport/protocols/manifest_indexing_manager.h | |
parent | 843fba473ff35d026a7c4d39aa269b06c55e1f91 (diff) | |
parent | d41e15b580287a26f6b58241eaec7957ee336050 (diff) |
Merge "[HICN-411] Change how manifests are requested"
Diffstat (limited to 'libtransport/src/hicn/transport/protocols/manifest_indexing_manager.h')
-rw-r--r-- | libtransport/src/hicn/transport/protocols/manifest_indexing_manager.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libtransport/src/hicn/transport/protocols/manifest_indexing_manager.h b/libtransport/src/hicn/transport/protocols/manifest_indexing_manager.h index 74c86eb60..cb88940d5 100644 --- a/libtransport/src/hicn/transport/protocols/manifest_indexing_manager.h +++ b/libtransport/src/hicn/transport/protocols/manifest_indexing_manager.h @@ -21,9 +21,6 @@ #include <list> -/* #define MAX_MANIFESTS_IN_FLIGHT std::numeric_limits<uint32_t>::max() */ -#define MAX_MANIFESTS_IN_FLIGHT 10 - namespace transport { namespace protocol { @@ -58,9 +55,9 @@ class ManifestIndexManager : public IncrementalIndexManager, private: void onManifestReceived(Interest::Ptr &&i, ContentObject::Ptr &&c); void onManifestTimeout(Interest::Ptr &&i); + void fillWindow(Name &name, uint32_t current_manifest); protected: - uint32_t manifests_in_flight_; SuffixQueue suffix_queue_; SuffixQueue::iterator next_reassembly_segment_; SuffixQueue::iterator next_to_retrieve_segment_; |