diff options
-rw-r--r-- | calendar/gui/e-meeting-store.c | 1 | ||||
-rw-r--r-- | calendar/gui/itip-utils.c | 1 | ||||
-rw-r--r-- | mail/e-http-request.c | 4 | ||||
-rw-r--r-- | modules/cal-config-caldav/e-caldav-chooser.c | 2 |
4 files changed, 7 insertions, 1 deletions
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c index 6d15afc130..0aaf8fed80 100644 --- a/calendar/gui/e-meeting-store.c +++ b/calendar/gui/e-meeting-store.c @@ -2014,6 +2014,7 @@ download_with_libsoup (const gchar *uri, g_object_set_data_full (G_OBJECT (msg), "orig-uri", g_strdup (uri), g_free); session = soup_session_async_new (); + g_object_set (session, SOUP_SESSION_TIMEOUT, 90, NULL); g_signal_connect ( session, "authenticate", G_CALLBACK (soup_authenticate), NULL); diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 12fac84185..b5d350c86b 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -2158,6 +2158,7 @@ itip_publish_comp (ECalClient *cal_client, /* Publish the component */ session = soup_session_async_new (); + g_object_set (session, SOUP_SESSION_TIMEOUT, 90, NULL); real_uri = soup_uri_new (uri); if (!real_uri || !real_uri->host) { diff --git a/mail/e-http-request.c b/mail/e-http-request.c index db3047e2f4..45f5517f2a 100644 --- a/mail/e-http-request.c +++ b/mail/e-http-request.c @@ -376,7 +376,9 @@ handle_http_request (GSimpleAsyncResult *res, context = g_main_context_get_thread_default (); session = soup_session_async_new_with_options ( - SOUP_SESSION_ASYNC_CONTEXT, context, NULL); + SOUP_SESSION_ASYNC_CONTEXT, context, + SOUP_SESSION_TIMEOUT, 90, + NULL); requester = soup_requester_new (); soup_session_add_feature (session, SOUP_SESSION_FEATURE (requester)); diff --git a/modules/cal-config-caldav/e-caldav-chooser.c b/modules/cal-config-caldav/e-caldav-chooser.c index e5904fb4c5..55143f0d4c 100644 --- a/modules/cal-config-caldav/e-caldav-chooser.c +++ b/modules/cal-config-caldav/e-caldav-chooser.c @@ -344,6 +344,8 @@ caldav_chooser_configure_session (ECaldavChooser *chooser, g_object_unref (logger); } + g_object_set (session, SOUP_SESSION_TIMEOUT, 90, NULL); + /* This adds proxy support. */ soup_session_add_feature_by_type ( session, SOUP_TYPE_GNOME_FEATURES_2_26); |