SyncEngine: Handle 503 condition as soft error to properly handle etags.

Otherwise the ETags could be removed from the db and cause file
deletes.
This commit is contained in:
Klaas Freitag 2014-10-28 17:13:21 +01:00
parent 26ff6be63c
commit 105ff694f2

View file

@ -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");