forked from I2P_Developers/i2p.i2p
(zzz)
* 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:
@ -596,4 +596,10 @@ class PeerState
|
||||
{
|
||||
out.sendAlive();
|
||||
}
|
||||
|
||||
synchronized void retransmitRequests()
|
||||
{
|
||||
if (interesting && !choked)
|
||||
out.retransmitRequests(outstandingRequests);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user