mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
make router real upon successive outgoing NTCP2 session. Eliminate static keys table
This commit is contained in:
parent
f2bc2598dc
commit
8a52295882
6 changed files with 13 additions and 58 deletions
|
@ -1075,8 +1075,6 @@ namespace transport
|
|||
return false;
|
||||
}
|
||||
SetRemoteIdentity (ri->GetRouterIdentity ());
|
||||
ri->GetProfile ()->Connected ();
|
||||
i2p::data::UpdateStaticKey (m_Address->s, ri->GetIdentHash ()); // good static key
|
||||
AdjustMaxPayloadSize ();
|
||||
m_Server.AddSessionByRouterHash (shared_from_this ()); // we know remote router now
|
||||
m_RemoteTransports = ri->GetCompatibleTransports (false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue