CLOUD: Update DownloadRequest's TODO

We need a way to reopen DumpFile if we want DownloadRequest to support
restarting.
This commit is contained in:
Alexander Tkachev 2016-07-21 15:49:01 +06:00
parent 5f9beb76cd
commit a30d0d1994

View file

@ -44,7 +44,7 @@ void DownloadRequest::start() {
_ignoreCallback = true; _ignoreCallback = true;
if (_workingRequest) _workingRequest->finish(); if (_workingRequest) _workingRequest->finish();
_remoteFileStream = nullptr; _remoteFileStream = nullptr;
//TODO: reopen DumpFile //TODO: add some way to reopen DumpFile, so DownloadRequest could be restarted
_ignoreCallback = false; _ignoreCallback = false;
_workingRequest = _storage->streamFileById( _workingRequest = _storage->streamFileById(