mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 09:00:30 +01:00
send RouterInfo from NTCP2Server's thread
This commit is contained in:
parent
65cf14bfce
commit
b259ee89aa
1 changed files with 1 additions and 1 deletions
|
@ -1005,7 +1005,7 @@ namespace transport
|
||||||
void NTCP2Session::SendLocalRouterInfo ()
|
void NTCP2Session::SendLocalRouterInfo ()
|
||||||
{
|
{
|
||||||
if (!IsOutgoing ()) // we send it in SessionConfirmed
|
if (!IsOutgoing ()) // we send it in SessionConfirmed
|
||||||
SendRouterInfo ();
|
m_Server.GetService ().post (std::bind (&NTCP2Session::SendRouterInfo, shared_from_this ()));
|
||||||
}
|
}
|
||||||
|
|
||||||
NTCP2Server::NTCP2Server ():
|
NTCP2Server::NTCP2Server ():
|
||||||
|
|
Loading…
Add table
Reference in a new issue