* i2psnark: Implement retransmission of requests. This
      eliminates one cause of complete stalls with a peer.
      This problem is common on torrents with a small number of
      active peers where there are no choke/unchokes to kickstart things.
This commit is contained in:
zzz
2006-09-16 21:07:28 +00:00
committed by zzz
parent 46f2645834
commit 23e8a558c2
7 changed files with 47 additions and 3 deletions

View File

@ -596,4 +596,10 @@ class PeerState
{
out.sendAlive();
}
synchronized void retransmitRequests()
{
if (interesting && !choked)
out.retransmitRequests(outstandingRequests);
}
}