summaryrefslogtreecommitdiff
path: root/src/BencodeVisitor.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-06-04 16:28:16 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-06-04 16:28:16 +0000
commit7d63daed2238fbf5018788662550d605d49884ec (patch)
tree3603913bd3cd2186a8f4fc5d8f423729c302a705 /src/BencodeVisitor.cc
parent20f5fcfc0fdf89334e5a00e2ac74fd5406ed8985 (diff)
2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Calculate piece hash when data is arrived if the data is arrived in order. This removes additional read operation for hash calculation. If the data is arrived in out of order, the hash is calucated when the piece is completed. This is the same behavior as the old implementation. * src/BtPieceMessage.cc * src/DefaultBtProgressInfoFile.cc * src/DefaultPieceStorage.cc * src/DownloadCommand.cc * src/DownloadCommand.h * src/DownloadEngine.cc * src/GrowSegment.cc * src/GrowSegment.h * src/Piece.cc * src/Piece.h * src/PiecedSegment.cc * src/PiecedSegment.h * src/Segment.h * test/PieceTest.cc
Diffstat (limited to 'src/BencodeVisitor.cc')
0 files changed, 0 insertions, 0 deletions