schedule interoducers again if still testing

This commit is contained in:
orignal 2015-03-29 21:05:12 -04:00
parent 1a440e3a83
commit f2078f6d5b

View File

@ -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<boost::asio::ip::udp::endpoint> newList;
size_t numIntroducers = 0;