mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 00:44:38 +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
|
@ -113,8 +113,10 @@ void AssetRequest::start() {
|
||||||
_data = data;
|
_data = data;
|
||||||
_totalReceived += data.size();
|
_totalReceived += data.size();
|
||||||
emit progress(_totalReceived, data.size());
|
emit progress(_totalReceived, data.size());
|
||||||
|
|
||||||
saveToCache(getUrl(), data);
|
if (!_byteRange.isSet()) {
|
||||||
|
saveToCache(getUrl(), data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue