mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 12:24:24 -04:00
Integration of ft into a working system.
* Made ftTransferModule compile. * bugfixes to make ftserver1test work. * New P3Pipe / P3Hub ... * Added Test Notes. * First functions added to ftcontroller * added isOnline to p3ConnectMgr. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@698 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c4a3792500
commit
eb8dacc798
15 changed files with 647 additions and 143 deletions
|
@ -566,35 +566,6 @@ int filedexserver::handleOutputQueues()
|
|||
//std::cerr << "filedexserver::handleOutputQueues()" << std::endl;
|
||||
int i = 0;
|
||||
|
||||
|
||||
#if 0 /* no more cache queries -> results are pushed */
|
||||
|
||||
std::list<RsPeerId> ids;
|
||||
std::list<RsPeerId>::iterator pit;
|
||||
|
||||
mCacheStrapper->sendCacheQuery(ids, time(NULL));
|
||||
for(pit = ids.begin(); pit != ids.end(); pit++)
|
||||
{
|
||||
//std::cerr << "filedexserver::handleOutputQueues() Cache Query for: " << (*pit) << std::endl;
|
||||
|
||||
/* now create one! */
|
||||
RsCacheRequest *cr = new RsCacheRequest();
|
||||
cr->PeerId(*pit);
|
||||
|
||||
std::ostringstream out;
|
||||
if (i++ == 0)
|
||||
{
|
||||
out << "Outgoing CacheStrapper -> SearchItem:" << std::endl;
|
||||
}
|
||||
cr -> print(out);
|
||||
pqioutput(PQL_DEBUG_BASIC, fldxsrvrzone, out.str());
|
||||
|
||||
/* send it off */
|
||||
pqisi -> SearchSpecific(cr);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/* now see if the filer has any data */
|
||||
ftFileRequest *ftr;
|
||||
while((ftr = ftFiler -> sendFileInfo()) != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue