[evolution-data-server] I#193 - EWebDAVDiscover: Can skip lookup for books with /.well-known/carddav address



commit ac7c8bf53450f60e975280d009768df3f43e03e8
Author: Milan Crha <mcrha redhat com>
Date:   Wed Feb 19 13:46:21 2020 +0100

    I#193 - EWebDAVDiscover: Can skip lookup for books with /.well-known/carddav address
    
    Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/193

 src/libedataserver/e-webdav-discover.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libedataserver/e-webdav-discover.c b/src/libedataserver/e-webdav-discover.c
index c0db831d7..e6d1faaa9 100644
--- a/src/libedataserver/e-webdav-discover.c
+++ b/src/libedataserver/e-webdav-discover.c
@@ -902,6 +902,7 @@ e_webdav_discover_sources_full_sync (ESource *source,
 
                        wdd.error = &local_error_2nd;
                        wdd.only_supports = E_WEBDAV_DISCOVER_SUPPORTS_EVENTS | 
E_WEBDAV_DISCOVER_SUPPORTS_MEMOS | E_WEBDAV_DISCOVER_SUPPORTS_TASKS;
+                       g_hash_table_remove_all (wdd.covered_hrefs);
 
                        success = (uri && *uri && e_webdav_discover_propfind_uri_sync (webdav, &wdd, uri, 
FALSE)) || success;
 
@@ -933,6 +934,7 @@ e_webdav_discover_sources_full_sync (ESource *source,
 
                        wdd.error = &local_error_2nd;
                        wdd.only_supports = E_WEBDAV_DISCOVER_SUPPORTS_CONTACTS;
+                       g_hash_table_remove_all (wdd.covered_hrefs);
 
                        success = (uri && *uri && e_webdav_discover_propfind_uri_sync (webdav, &wdd, uri, 
FALSE)) || success;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]