made the sequential download mode slightly more sequential (by letting more categories of peers request early pieces). Disabled speed affinity and prefer_whole_pieces when in sequential download mode

This commit is contained in:
Arvid Norberg
2009-01-14 09:07:27 +00:00
parent bd1757fbd2
commit 3f94cc8857
3 changed files with 16 additions and 4 deletions

View File

@@ -129,7 +129,11 @@ namespace libtorrent
// always pick partial pieces before any other piece
prioritize_partials = 8,
// pick pieces in sequential order
sequential = 16
sequential = 16,
// have affinity to pieces with the same speed category
speed_affinity = 32,
// ignore the prefer_whole_pieces parameter
ignore_whole_pieces = 64
};
struct downloading_piece