mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Integrated turtle download to all kind of user-requested downloads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1625 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
64a06fd0bb
commit
95a577ccd0
3 changed files with 5 additions and 2 deletions
|
@ -899,7 +899,6 @@ bool ftController::FileCancel(std::string hash)
|
|||
}
|
||||
|
||||
mDownloads.erase(mit);
|
||||
mTurtle->stopMonitoringFileTunnels(hash) ;
|
||||
|
||||
IndicateConfigChanged(); /* completed transfer -> save */
|
||||
return true;
|
||||
|
|
|
@ -251,11 +251,15 @@ bool ftServer::FileRequest(std::string fname, std::string hash, uint64_t size,
|
|||
const DwlDetails details(fname, hash, size, dest, flags, srcIds, Normal);
|
||||
mFtDwlQueue->insertDownload(details);
|
||||
|
||||
rsTurtle->monitorFileTunnels( fname,hash,size ) ;
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
bool ftServer::FileCancel(std::string hash)
|
||||
{
|
||||
rsTurtle->stopMonitoringFileTunnels(hash) ;
|
||||
|
||||
return mFtController->FileCancel(hash);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue