]> Sergey Matveev's repositories - btrtrc.git/commit
Drop peers for sending too many unwanted pieces
authorMatt Joiner <anacrolix@gmail.com>
Mon, 3 Aug 2015 15:32:45 +0000 (01:32 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 3 Aug 2015 15:32:45 +0000 (01:32 +1000)
commit85a0fe6b61d0f9bb73f3c08b74b61893566b73fb
treed9e5f417ca0f02a94d31e07eaf48ff297427cf27
parentda8ac9fe018c0a031febb285c609eb8e85d90026
Drop peers for sending too many unwanted pieces

So the algorithm is now, drop the worst half if they get too old, and drop any connection if it's ratio is poor.
torrent.go