csync_update: Add missing comment about 403 forbidden handling.
authorKlaas Freitag <freitag@owncloud.com>
Mon, 12 Oct 2015 15:10:01 +0000 (17:10 +0200)
committerKlaas Freitag <freitag@owncloud.com>
Wed, 18 Nov 2015 14:31:55 +0000 (15:31 +0100)
csync/src/csync_update.c

index 0642b44830daa43798313c47803d33ac53903f5f..94ef28ff50fd84af2351df47899fa698e2ed716f 100644 (file)
@@ -640,7 +640,8 @@ int csync_ftw(CSYNC *ctx, const char *uri, csync_walker_fn fn,
               CSYNC_LOG(CSYNC_LOG_PRIORITY_ERROR, "asprintf failed!");
           }
       }
-      //
+      // 403 Forbidden can be sent by the server if the file firewall is active.
+      // A file or directory should be ignored and sync must continue. See #3490
       else if(errno == ERRNO_FORBIDDEN) {
           CSYNC_LOG(CSYNC_LOG_PRIORITY_WARN, "Directory access Forbidden (File Firewall?)");
           if (ctx->current_fs) {