[Pkg-owncloud-commits] [owncloud-client] 180/218: Propagation: Make 423 Locked a soft error #3387
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 17 14:31:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 62eeed52018ed6107c6973e6d62df53f909c52a9
Author: Christian Kamm <mail at ckamm.de>
Date: Wed Sep 30 14:00:53 2015 +0200
Propagation: Make 423 Locked a soft error #3387
(cherry picked from commit 20ea9015caede409f0159e09475b4b848f69e54c)
---
src/libsync/owncloudpropagator_p.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/libsync/owncloudpropagator_p.h b/src/libsync/owncloudpropagator_p.h
index 4fb0953..c3c68aa 100644
--- a/src/libsync/owncloudpropagator_p.h
+++ b/src/libsync/owncloudpropagator_p.h
@@ -69,6 +69,12 @@ inline SyncFileItem::Status classifyError(QNetworkReply::NetworkError nerror, in
return SyncFileItem::SoftError;
}
+ if (httpCode == 423) {
+ // "Locked"
+ // Should be temporary.
+ return SyncFileItem::SoftError;
+ }
+
return SyncFileItem::NormalError;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list