mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 05:45:42 +03:00
clear the etag in every cases, not only when we upload files
This commit is contained in:
parent
e2a2b882bb
commit
d135aab86c
1 changed files with 1 additions and 1 deletions
|
@ -59,6 +59,7 @@ void OwncloudPropagator::propagate(const SyncFileItem &item)
|
|||
{
|
||||
_errorCode = CSYNC_STATUS_OK;
|
||||
_errorString.clear();
|
||||
_etag.clear();
|
||||
_httpStatusCode = 0;
|
||||
switch(item._instruction) {
|
||||
case CSYNC_INSTRUCTION_REMOVE:
|
||||
|
@ -222,7 +223,6 @@ csync_instructions_e OwncloudPropagator::uploadFile(const SyncFileItem &item)
|
|||
bool finished = true;
|
||||
int attempts = 0;
|
||||
|
||||
_etag.clear(); // dangerous?
|
||||
/*
|
||||
* do ten tries to upload the file chunked. Check the file size and mtime
|
||||
* before submitting a chunk and after having submitted the last one.
|
||||
|
|
Loading…
Reference in a new issue