handle SSU v4 and v6 messages in one thread

This commit is contained in:
orignal 2020-10-14 21:06:51 -04:00
parent 2648f1ba89
commit 417b5ed6cc
4 changed files with 16 additions and 42 deletions

View file

@ -501,7 +501,7 @@ namespace transport
{
auto addr = router->GetSSUV6Address ();
if (addr)
m_SSUServer->GetServiceV6 ().post ([this, router, addr]
m_SSUServer->GetService ().post ([this, router, addr]
{
m_SSUServer->CreateDirectSession (router, { addr->host, (uint16_t)addr->port }, false);
});