* 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

@ -477,4 +477,14 @@ public class Peer implements Comparable
s.keepAlive();
}
/**
* Retransmit outstanding requests if necessary
*/
public void retransmitRequests()
{
PeerState s = state;
if (s != null)
s.retransmitRequests();
}
}