View Issue Details

IDProjectCategoryView StatusLast Update
0005781SOGoBackend Calendarpublic2023-06-07 07:06
Reporterbahnkonzept Assigned Tosebastien  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.8.2 
Fixed in Version5.9.0 
Summary0005781: Increase curl timeout to be able to subscribe to large ics calendars
Description

user1@example.com wants to the calendar of user2@other.org using web calendar subscription within SoGO.

Both users are on separate SoGO instances (and servers).

The calendar of user2@other.org is quite big with many entries. A plain request using Postman to the ics url of the calendar of user2@other.org takes 35 seconds and the response has 2.5 MB in total.

As I can see, the problem could easily be fixed by increasing the CURL timeout defined in https://github.com/Alinto/sogo/blob/5e6ad77d4ca0ac53dd7c9efb53469dd5129767f2/SoObjects/Appointments/SOGoWebAppointmentFolder.m#L134

It's set to 20 seconds at the moment. Maybe it could be increased to 60 seconds to be able to subscribe to large web calendars.

TagsNo tags attached.

Activities

sebastien

sebastien

2023-06-07 07:06

administrator   ~0017003

Commit : https://github.com/Alinto/sogo/commit/fa5264e822867549aa5bc23fb905fd18c065c087

Be careful, this will lock process until download or timeout is complete. You may need to adjust WOWorkerCount and WOListenQueueSize.

Sebastien

Issue History

Date Modified Username Field Change
2023-06-06 14:29 bahnkonzept New Issue
2023-06-07 07:06 sebastien Note Added: 0017003
2023-06-07 07:06 sebastien Assigned To => sebastien
2023-06-07 07:06 sebastien Status new => resolved
2023-06-07 07:06 sebastien Resolution open => fixed
2023-06-07 07:06 sebastien Fixed in Version => 5.9.0