Permalink
Browse files

Added patch from #2311

  • Loading branch information...
extrafu committed Feb 7, 2014
1 parent 88b2a7f commit e90acfbe7de32992e61108a446fd34eed9978765
Showing with 13 additions and 1 deletion.
  1. +13 −1 chrome/content/sogo-connector/general/sync.addressbook.groupdav.js
@@ -1027,8 +1027,20 @@ GroupDavSynchronizer.prototype = {
else
this.abort();
}
else
else {
dump("onServerHashQueryComlete: the server returned an empty response\n");
// We handle a special case : server returns a 403 status but with an empty response.
// It is not well defined in RFC how to handle that.
// It seems that IceWarp Server wants the client to retry without a token.
if (status == 403) {
dump("[sogo-connector] received '403' status"
+ ", retrying without a token...\n");
this.webdavSyncToken = "";
this.triggerWebDAVSync();
} else {
this.abort();
}
}
},
onServerSyncQueryComplete: function(status, jsonResponse) {

0 comments on commit e90acfb

Please sign in to comment.