mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
separate thread for streaming
This commit is contained in:
parent
219f992d9e
commit
4bd42625fd
3 changed files with 101 additions and 23 deletions
|
@ -392,7 +392,7 @@ namespace garlic
|
|||
// later on we should let destination decide
|
||||
I2NPHeader * header = (I2NPHeader *)buf;
|
||||
if (header->typeID == eI2NPData)
|
||||
i2p::stream::HandleDataMessage (&destination, buf + sizeof (I2NPHeader), be16toh (header->size));
|
||||
i2p::stream::HandleDataMessage (destination, buf + sizeof (I2NPHeader), be16toh (header->size));
|
||||
else
|
||||
LogPrint ("Unexpected I2NP garlic message ", (int)header->typeID);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue