mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
added missing setPeerState that caused tunnels to get stuck to default minimum rate unless the list of connected peers change
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6739 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4b44304aec
commit
d127d36131
@ -174,6 +174,7 @@ void ftController::addFileSource(const std::string& hash,const std::string& peer
|
|||||||
if(it->first == hash)
|
if(it->first == hash)
|
||||||
{
|
{
|
||||||
it->second->mTransfer->addFileSource(peer_id);
|
it->second->mTransfer->addFileSource(peer_id);
|
||||||
|
setPeerState(it->second->mTransfer, peer_id, FT_CNTRL_STANDARD_RATE, mLinkMgr->isOnline( peer_id ));
|
||||||
|
|
||||||
#ifdef CONTROL_DEBUG
|
#ifdef CONTROL_DEBUG
|
||||||
std::cerr << "... added." << std::endl ;
|
std::cerr << "... added." << std::endl ;
|
||||||
|
Loading…
Reference in New Issue
Block a user