mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 09:27:09 -05:00
remove DHT from rsInit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1881 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
35631d180e
commit
b7ace087e6
@ -1945,7 +1945,7 @@ int RsServer::StartupRetroShare()
|
||||
|
||||
mConnMgr = new p3ConnectMgr(mAuthMgr);
|
||||
pqiNetAssistFirewall *mUpnpMgr = new upnphandler();
|
||||
p3DhtMgr *mDhtMgr = new OpenDHTMgr(ownId, mConnMgr, RsInitConfig::configDir);
|
||||
//p3DhtMgr *mDhtMgr = new OpenDHTMgr(ownId, mConnMgr, RsInitConfig::configDir);
|
||||
|
||||
SecurityPolicy *none = secpolicy_create();
|
||||
pqih = new pqisslpersongrp(none, flags);
|
||||
@ -2048,7 +2048,7 @@ int RsServer::StartupRetroShare()
|
||||
|
||||
/**************************************************************************/
|
||||
|
||||
mConnMgr->addNetAssistConnect(1, mDhtMgr);
|
||||
//mConnMgr->addNetAssistConnect(1, mDhtMgr);
|
||||
mConnMgr->addNetAssistFirewall(1, mUpnpMgr);
|
||||
|
||||
/**************************************************************************/
|
||||
@ -2169,7 +2169,7 @@ int RsServer::StartupRetroShare()
|
||||
ftserver->StartupThreads();
|
||||
ftserver->ResumeTransfers();
|
||||
|
||||
mDhtMgr->start();
|
||||
//mDhtMgr->start();
|
||||
|
||||
// create loopback device, and add to pqisslgrp.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user