Download: Retrigger folder discovery on 404
authorChristian Kamm <mail@ckamm.de>
Mon, 29 May 2017 10:05:22 +0000 (12:05 +0200)
committerMarkus Goetz <markus@woboq.com>
Mon, 29 May 2017 19:41:10 +0000 (21:41 +0200)
commit577a2715bde1e958fb1ee78041c42581d6a5ee11
tree625e523a41505331ea639b0abcfee8a216bb28ce
parent56de50de2867fb34ea3d0aab4fd217da38937730
Download: Retrigger folder discovery on 404

See owncloud/enterprise#1966

If the server and the client's database go out of sync, there could be
persistent 404 errors. This change ensures that the problem corrects
itself eventually by triggering a remote discovery of the file's
parent folders.

It does not address the root cause that might have lead to the
divergence.
src/libsync/propagatedownload.cpp