mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 16:34:13 +00:00
schedule interoducers again if still testing
This commit is contained in:
parent
1a440e3a83
commit
f2078f6d5b
9
SSU.cpp
9
SSU.cpp
@ -426,7 +426,14 @@ namespace transport
|
|||||||
if (ecode != boost::asio::error::operation_aborted)
|
if (ecode != boost::asio::error::operation_aborted)
|
||||||
{
|
{
|
||||||
// timeout expired
|
// 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 ();
|
if (!i2p::context.IsUnreachable ()) i2p::context.SetUnreachable ();
|
||||||
std::list<boost::asio::ip::udp::endpoint> newList;
|
std::list<boost::asio::ip::udp::endpoint> newList;
|
||||||
size_t numIntroducers = 0;
|
size_t numIntroducers = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user