Allow upload requests for several files at once.

This commit is contained in:
John Preston
2024-04-03 13:49:36 +04:00
parent 5b0cac47ad
commit 0dcc439dda
4 changed files with 402 additions and 358 deletions
@@ -1108,9 +1108,6 @@ void SessionPrivate::onSentSome(uint64 size) {
DEBUG_LOG(("Checking connect for request with size %1 bytes, delay will be %2").arg(size).arg(remain));
}
}
if (isUploadDcId(_shiftedDcId)) {
remain *= kUploadSessionsCount;
}
_waitForReceivedTimer.callOnce(remain);
}
if (!_firstSentAt) {