mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 14:10:40 +02:00
don't save ATP requests to cache if they are range requests
This commit is contained in:
parent
11ed8c9ce1
commit
945952d511
1 changed files with 4 additions and 2 deletions
|
@ -114,9 +114,11 @@ void AssetRequest::start() {
|
|||
_totalReceived += data.size();
|
||||
emit progress(_totalReceived, data.size());
|
||||
|
||||
if (!_byteRange.isSet()) {
|
||||
saveToCache(getUrl(), data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (_error != NoError) {
|
||||
qCWarning(asset_client) << "Got error retrieving asset" << _hash << "- error code" << _error;
|
||||
|
|
Loading…
Reference in a new issue