mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 10:14:52 +02:00
Remove max chunk requesting from SendAssetTask
This commit is contained in:
parent
f95957a271
commit
3731091d5e
1 changed files with 0 additions and 4 deletions
|
@ -40,12 +40,8 @@ void SendAssetTask::run() {
|
|||
|
||||
replyPacketList->writePrimitive(_messageID);
|
||||
|
||||
const int64_t MAX_LENGTH = 4294967296;
|
||||
|
||||
if (_end <= _start) {
|
||||
writeError(replyPacketList.get(), AssetServerError::INVALID_BYTE_RANGE);
|
||||
} else if (_end - _start > MAX_LENGTH) {
|
||||
writeError(replyPacketList.get(), AssetServerError::INVALID_BYTE_RANGE);
|
||||
} else {
|
||||
QFile file { _filePath };
|
||||
|
||||
|
|
Loading…
Reference in a new issue