Discovery: Allow more HTTP error code to be treated as ignored dir
authorOlivier Goffart <ogoffart@woboq.com>
Wed, 13 Nov 2019 10:12:32 +0000 (11:12 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:59:03 +0000 (10:59 +0100)
commit392d3c257c39ed391b2dfcde3b9a629ca251ee94
tree4470341fa44c20231047f7170421d70f866bad1c
parent43c7e32ee19975596f4a73d8d2792829bcaa5bd3
Discovery: Allow more HTTP error code to be treated as ignored dir

The original code from csync was stopping at any error.
But we have been whitelisting soeme http error code one by one
to ignore the directory instead of aborting the sync.
However, as there are more requests to continue the sync in case
of error, just ignore most HTTP errors

Issue #7586
src/libsync/discovery.cpp