mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
fix #1363 try connect in SSU's thread
This commit is contained in:
parent
3e932a55f4
commit
13732ac333
@ -562,7 +562,10 @@ namespace transport
|
|||||||
{
|
{
|
||||||
auto addr = router->GetSSUV6Address ();
|
auto addr = router->GetSSUV6Address ();
|
||||||
if (addr)
|
if (addr)
|
||||||
|
m_SSUServer->GetServiceV6 ().post ([this, router, addr]
|
||||||
|
{
|
||||||
m_SSUServer->CreateDirectSession (router, { addr->host, (uint16_t)addr->port }, false);
|
m_SSUServer->CreateDirectSession (router, { addr->host, (uint16_t)addr->port }, false);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user