mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added markTotalLengthIsKnown(). * src/DownloadContext.h
This commit is contained in:
parent
5013e96b3b
commit
9423f0d29a
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added markTotalLengthIsKnown().
|
||||
* src/DownloadContext.h
|
||||
|
||||
2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Don't add PeerChokeCommand and SeedCheckCommand if metadata is
|
||||
|
|
|
@ -126,6 +126,8 @@ public:
|
|||
|
||||
void markTotalLengthIsUnknown() { _knowsTotalLength = false; }
|
||||
|
||||
void markTotalLengthIsKnown() { _knowsTotalLength = true; }
|
||||
|
||||
const std::vector<SharedHandle<FileEntry> >& getFileEntries() const
|
||||
{
|
||||
return _fileEntries;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue