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:
joss17 2009-12-14 18:10:49 +00:00
parent 35631d180e
commit b7ace087e6

View File

@ -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.