Browse Source

schedule interoducers again if still testing

pull/170/head
orignal 10 years ago
parent
commit
f2078f6d5b
  1. 9
      SSU.cpp

9
SSU.cpp

@ -426,7 +426,14 @@ namespace transport @@ -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;

Loading…
Cancel
Save