Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2014-10-28 19:13:21 +0300
committerKlaas Freitag <freitag@owncloud.com>2014-10-28 19:13:21 +0300
commit105ff694f250b19ae1515c04b60aa2b722cd3047 (patch)
treebc8af192b87f955fcc24cd1a20f7f6c758fe01b7 /src/mirall
parent26ff6be63c28cf104045eab026df530ef5c86eb2 (diff)
SyncEngine: Handle 503 condition as soft error to properly handle etags.
Otherwise the ETags could be removed from the db and cause file deletes.
Diffstat (limited to 'src/mirall')
-rw-r--r--src/mirall/syncengine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp
index e93e6eb1f..43e4a7ad1 100644
--- a/src/mirall/syncengine.cpp
+++ b/src/mirall/syncengine.cpp
@@ -374,6 +374,7 @@ int SyncEngine::treewalkFile( TREE_WALK_FILE *file, bool remote )
break;
case CSYNC_STATUS_SERVICE_UNAVAILABLE:
item._errorString = QLatin1String("Directory temporarily not available on server.");
+ item._status = SyncFileItem::SoftError;
break;
default:
Q_ASSERT("Non handled error-status");