mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
handle SSU v4 and v6 messages in one thread
This commit is contained in:
parent
2648f1ba89
commit
417b5ed6cc
4 changed files with 16 additions and 42 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue