diff options
Diffstat (limited to 'src/HttpDownloadCommand.cc')
| -rw-r--r-- | src/HttpDownloadCommand.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/HttpDownloadCommand.cc b/src/HttpDownloadCommand.cc index 5727ed6f..deed69d7 100644 --- a/src/HttpDownloadCommand.cc +++ b/src/HttpDownloadCommand.cc @@ -129,4 +129,9 @@ bool HttpDownloadCommand::prepareForNextSegment() { } } +off_t HttpDownloadCommand::getRequestEndOffset() const +{ + return httpResponse_->getHttpHeader()->getRange()->getEndByte()+1; +} + } // namespace aria2 |
