EWebDAVDiscover: Correct error response
I configure a CalDAV-only collection account. Then I set the server with 25% probability to trigger timeout in Evolution, whenever the PROPFIND answer contains the user's calendar URL. Then I trigger several account refreshes over the “Edit accounts” window in a row and request refresh of the single calendar. The calendar disappears from Evolution.
Evolution-source-regitry prints:
> PROPFIND /dav/calendars/user/ggg%40example.org/ HTTP/1.1
> Soup-Debug-Timestamp: 1615661737
> Soup-Debug: EWebDAVSession 1 (0x7fcafc00a180), SoupMessage 6
(0x7fcafc003aa0), SoupSocket 7 (0x7fcb20007670)
> Host: example.org:444
> User-Agent: Evolution/3.40.0
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> Depth: 1
> Content-Type: application/xml; charset="utf-8"
> Accept-Encoding: gzip, deflate
> Accept-Language: en-gb, en;q=0.9
> Authorization: Basic [ggg@example.org:********]
>
> <propfind xmlns="DAV:" xmlns:CS="http://calendarserver.org/ns/"
xmlns:C="urn:ietf:params:xml:ns:caldav"
xmlns:IC="http://apple.com/ns/ical/">
> <prop>
> <resourcetype/>
> <CS:source/>
> <C:supported-calendar-component-set/>
> <displayname/>
> <getetag/>
> <CS:getctag/>
> <getcontenttype/>
> <getcontentlength/>
> <creationdate/>
> <getlastmodified/>
> <C:calendar-description/>
> <IC:calendar-color/>
> <IC:calendar-order/>
> </prop>
> </propfind>
< HTTP/1.1 0 (null)
< Soup-Debug-Timestamp: 1615661827
< Soup-Debug: SoupMessage 6 (0x7fcafc003aa0)
[ESR] 2021-03-13 20:57:19.820 - Removing
a3ac5b0b8b7061e6b338ae08cce10634c9859b1f ('Source_99')
[ESR] 2021-03-13 20:57:19.825 - Removing
81cd90f92e1f2b117ffc1fada28c07488f75d853 ('Source_97')
[ESR] 2021-03-13 20:57:19.835 - Removing
0dd94ddc36ab78506f27cfd5b7c85207b0f074c5 ('Source_98')
[ESR] 2021-03-13 21:03:31.133 - Removing
a4b5be086f21323ea6960478319afee695d50556 ('Source_94')
[ESR] 2021-03-13 21:03:31.134 - Removing
02f438233ccf175a0ca84beeb721349833ecda46 ('Source_95')
[ESR] 2021-03-13 21:03:31.134 - Removing
5de6892a71ca678ba532fefb9345378f8840fb76 ('Source_96')
[ESR] 2021-03-13 21:03:31.136 - Removing
85460308e741d04f1e02fa85a7d63f3b3ac98de7 ('Source_93')
[ESR] 2021-03-13 21:03:31.142 - Handling file monitor event DELETED (2)
for URI:
file:///home/d/.config/evolution/sources/a4b5be086f21323ea6960478319afe
e695d50556.source
[ESR] 2021-03-13 21:03:31.142 - Handling file monitor event DELETED (2)
for URI:
file:///home/d/.config/evolution/sources/02f438233ccf175a0ca84beeb72134
9833ecda46.source
[ESR] 2021-03-13 21:03:31.142 - Handling file monitor event DELETED (2)
for URI:
file:///home/d/.config/evolution/sources/5de6892a71ca678ba532fefb934537
8f8840fb76.source
[ESR] 2021-03-13 21:03:31.142 - Handling file monitor event DELETED (2)
for URI:
file:///home/d/.config/evolution/sources/85460308e741d04f1e02fa85a7d63f
3b3ac98de7.source
[ESR] 2021-03-13 21:03:34.405 - Processing file monitor event DELETED
(2) for UID: 5de6892a71ca678ba532fefb9345378f8840fb76
[ESR] 2021-03-13 21:03:34.405 - Processing file monitor event DELETED
(2) for UID: a4b5be086f21323ea6960478319afee695d50556
[ESR] 2021-03-13 21:03:34.405 - Processing file monitor event DELETED
(2) for UID: 02f438233ccf175a0ca84beeb721349833ecda46
[ESR] 2021-03-13 21:03:34.405 - Processing file monitor event DELETED
(2) for UID: 85460308e741d04f1e02fa85a7d63f3b3ac98de7
Edited by Milan Crha