Browse Source

send RouterInfo from NTCP2Server's thread

pull/1229/head
orignal 6 years ago
parent
commit
b259ee89aa
  1. 2
      libi2pd/NTCP2.cpp

2
libi2pd/NTCP2.cpp

@ -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…
Cancel
Save