From f2078f6d5be2eb03ed41336b016b4689ce730f18 Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 29 Mar 2015 21:05:12 -0400 Subject: [PATCH] schedule interoducers again if still testing --- SSU.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/SSU.cpp b/SSU.cpp index 457c1213..4b316e65 100644 --- a/SSU.cpp +++ b/SSU.cpp @@ -426,7 +426,14 @@ namespace transport if (ecode != boost::asio::error::operation_aborted) { // timeout expired - if (i2p::context.GetStatus () != eRouterStatusFirewalled) return; // we don't need introducers anymore + if (i2p::context.GetStatus () != eRouterStatusTesting) + { + // we still don't know if we need introducers + ScheduleIntroducersUpdateTimer (); + return; + } + if (i2p::context.GetStatus () == eRouterStatusOK) return; // we don't need introducers anymore + // we are firewalled if (!i2p::context.IsUnreachable ()) i2p::context.SetUnreachable (); std::list newList; size_t numIntroducers = 0;