mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
fixed hanging connection
This commit is contained in:
parent
88a43bfc28
commit
a8e12e624d
2
SAM.cpp
2
SAM.cpp
@ -468,8 +468,6 @@ namespace client
|
|||||||
i2p::data::IdentHash ident;
|
i2p::data::IdentHash ident;
|
||||||
if (name == "ME")
|
if (name == "ME")
|
||||||
SendNamingLookupReply (m_Session->localDestination->GetIdentity ());
|
SendNamingLookupReply (m_Session->localDestination->GetIdentity ());
|
||||||
else if (name.rfind(".b32.i2p") == 52)
|
|
||||||
ident.FromBase32(name.substr(0, 52));
|
|
||||||
else if ((identity = context.GetAddressBook ().GetAddress (name)) != nullptr)
|
else if ((identity = context.GetAddressBook ().GetAddress (name)) != nullptr)
|
||||||
SendNamingLookupReply (identity);
|
SendNamingLookupReply (identity);
|
||||||
else if (m_Session && m_Session->localDestination &&
|
else if (m_Session && m_Session->localDestination &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user