mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
disable buffering when POSTing for bulk upload
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
454a7a5768
commit
f84d41b9bf
@ -68,6 +68,7 @@ void PutMultiFileJob::start()
|
||||
_body.append(onePart);
|
||||
}
|
||||
|
||||
req.setAttribute(QNetworkRequest::DoNotBufferUploadDataAttribute, true);
|
||||
sendRequest("POST", _url, req, &_body);
|
||||
|
||||
if (reply()->error() != QNetworkReply::NoError) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user