mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
don't use explicit unreachable parameter anymore
This commit is contained in:
parent
3c10ba4511
commit
513dc2fcc5
5 changed files with 46 additions and 11 deletions
3
SSU.cpp
3
SSU.cpp
|
@ -427,7 +427,8 @@ namespace transport
|
|||
if (ecode != boost::asio::error::operation_aborted)
|
||||
{
|
||||
// timeout expired
|
||||
if (!i2p::context.IsUnreachable ()) return; // we don't need introducers anymore
|
||||
if (!i2p::context.GetStatus () != eRouterStatusFirewalled) return; // we don't need introducers anymore
|
||||
if (!i2p::context.IsUnreachable ()) i2p::context.SetUnreachable ();
|
||||
std::list<boost::asio::ip::udp::endpoint> newList;
|
||||
size_t numIntroducers = 0;
|
||||
uint32_t ts = i2p::util::GetSecondsSinceEpoch ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue