From fa5264e822867549aa5bc23fb905fd18c065c087 Mon Sep 17 00:00:00 2001 From: smizrahi Date: Tue, 6 Jun 2023 09:04:01 +0200 Subject: [PATCH] fix(calendar): Increase timeout to 60 seconds for large ics calendar. Closes #5781. --- SoObjects/Appointments/SOGoWebAppointmentFolder.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Appointments/SOGoWebAppointmentFolder.m b/SoObjects/Appointments/SOGoWebAppointmentFolder.m index 0b92e046e..d6dfe6f0b 100644 --- a/SoObjects/Appointments/SOGoWebAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoWebAppointmentFolder.m @@ -131,7 +131,7 @@ size_t curl_body_function(void *ptr, size_t size, size_t nmemb, void *buffer) curl_easy_setopt(curl, CURLOPT_URL, [location UTF8String]); curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); - curl_easy_setopt(curl, CURLOPT_TIMEOUT, 20L); + curl_easy_setopt(curl, CURLOPT_TIMEOUT, 60L); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); authInfos = [self _loadAuthData];