From 35b68db847e5e4eaada0ae0d2880ec19b38503e9 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 27 Aug 2016 15:45:56 -0400 Subject: [PATCH] schedule cleanup again and add logging --- Datagram.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Datagram.cpp b/Datagram.cpp index 72dfe67c..18a147b8 100644 --- a/Datagram.cpp +++ b/Datagram.cpp @@ -138,6 +138,7 @@ namespace datagram LogPrint(eLogInfo, "DatagramDestination: expiring idle session with ", ident.ToBase32()); m_Sessions.erase(ident); } + ScheduleCleanup(); } std::shared_ptr DatagramDestination::ObtainSession(const i2p::data::IdentHash & ident) @@ -180,6 +181,7 @@ namespace datagram auto routingPath = m_RoutingSession->GetSharedRoutingPath(); if(!routingPath) { + LogPrint(eLogDebug, "DatagramSession: try getting new routing path"); // no routing path, try getting one routingPath = GetNextRoutingPath(); if(routingPath) // remember the routing path if we got one