From b259ee89aa15b0a88f15789d64756678f6fe6fe6 Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 22 Aug 2018 12:33:43 -0400 Subject: [PATCH] send RouterInfo from NTCP2Server's thread --- libi2pd/NTCP2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/NTCP2.cpp b/libi2pd/NTCP2.cpp index 14e5e333..ff6eb01e 100644 --- a/libi2pd/NTCP2.cpp +++ b/libi2pd/NTCP2.cpp @@ -1005,7 +1005,7 @@ namespace transport void NTCP2Session::SendLocalRouterInfo () { if (!IsOutgoing ()) // we send it in SessionConfirmed - SendRouterInfo (); + m_Server.GetService ().post (std::bind (&NTCP2Session::SendRouterInfo, shared_from_this ())); } NTCP2Server::NTCP2Server ():