mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
handle garlic message in separate thread
This commit is contained in:
parent
6732ba21f9
commit
28cc50fece
3 changed files with 53 additions and 0 deletions
3
i2p.cpp
3
i2p.cpp
|
@ -22,6 +22,7 @@
|
|||
#include "Tunnel.h"
|
||||
#include "NetDb.h"
|
||||
#include "HTTPServer.h"
|
||||
#include "Garlic.h"
|
||||
#include "util.h"
|
||||
|
||||
|
||||
|
@ -152,6 +153,7 @@ int main( int argc, char* argv[] )
|
|||
i2p::data::netdb.Start ();
|
||||
i2p::transports.Start ();
|
||||
i2p::tunnel::tunnels.Start ();
|
||||
i2p::garlic::routing.Start ();
|
||||
|
||||
while (running)
|
||||
{
|
||||
|
@ -160,6 +162,7 @@ int main( int argc, char* argv[] )
|
|||
}
|
||||
LogPrint("Shutdown started.");
|
||||
|
||||
i2p::garlic::routing.Stop ();
|
||||
i2p::tunnel::tunnels.Stop ();
|
||||
i2p::transports.Stop ();
|
||||
i2p::data::netdb.Stop ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue