mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Filled up pieces based on the number of missing blocks, rather than simplay the number of piece * block length. * src/BtRequestFactory.h * src/DefaultBtInteractive.cc * src/DefaultBtInteractive.h * src/DefaultBtRequestFactory.cc * src/DefaultBtRequestFactory.h * src/Piece.cc * src/Piece.h * test/BitfieldManTest.cc * test/DefaultBtRequestFactoryTest.cc * test/MockBtRequestFactory.h
This commit is contained in:
parent
09502fc3db
commit
dfe2f99345
11 changed files with 87 additions and 15 deletions
|
@ -17,6 +17,8 @@ public:
|
|||
|
||||
virtual size_t countTargetPiece() { return 0; }
|
||||
|
||||
virtual size_t countMissingBlock() { return 0; }
|
||||
|
||||
virtual void removeCompletedPiece() {}
|
||||
|
||||
virtual void doChokedAction() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue