something fishy is going on, it takes more than 10 seconds before the Sync
Interests gets responded (i.e. respondSyncInterest is called)
diff --git a/model/sync-logic.cc b/model/sync-logic.cc
index a7fc746..7f24e04 100644
--- a/model/sync-logic.cc
+++ b/model/sync-logic.cc
@@ -66,7 +66,7 @@
void
SyncLogic::respondSyncInterest (const string &interest)
{
- //cout << "Respond Sync Interest" << endl;
+ cout << "Respond Sync Interest" << endl;
string hash = interest.substr(interest.find_last_of("/") + 1);
DigestPtr digest = make_shared<Digest> ();
try
@@ -122,7 +122,7 @@
void
SyncLogic::processSyncData (const string &name, const string &dataBuffer)
{
- //cout << "Process Sync Data" <<endl;
+ cout << "Process Sync Data" <<endl;
DiffStatePtr diffLog = make_shared<DiffState> ();
try
@@ -261,7 +261,7 @@
void
SyncLogic::sendSyncInterest ()
{
- //cout << "Sending Sync Interest" << endl;
+ cout << "Sending Sync Interest" << endl;
recursive_mutex::scoped_lock lock (m_stateMutex);
ostringstream os;