* i2psnark: Mark a peer's requests as unrequested on disconnect,
      preventing premature end game
    * i2psnark: Randomize selection of next piece during end game
    * i2psnark: Don't restore a partial piece to a peer that is already working on it
    * i2psnark: strip ".torrent" on web page
    * i2psnark: Limit piece size in generated torrent to 1MB max
This commit is contained in:
zzz
2006-09-13 23:02:07 +00:00
committed by zzz
parent 9fd0e95fe8
commit 26c13b40fe
8 changed files with 133 additions and 17 deletions

View File

@ -321,8 +321,10 @@ public class Peer implements Comparable
// try to save partial piece
if (this.deregister) {
PeerListener p = state.listener;
if (p != null)
if (p != null) {
p.savePeerPartial(state);
p.markUnrequested(this);
}
}
state = null;