aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-07-11 18:37:12 +0800
committerMilan Crha <mcrha@redhat.com>2012-07-11 18:37:12 +0800
commit1852490a930c625a5fb300069694d661e3eeed02 (patch)
tree0402609ae4a8daeadc74b790437d0902053757e0 /calendar/gui
parent5183108e3bbcfc1b23a2d5c2b67d3f41000c5e32 (diff)
downloadgsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar.gz
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar.bz2
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar.lz
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar.xz
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar.zst
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.zip
Preset timeout on SoupSession-s to 90 seconds
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-meeting-store.c1
-rw-r--r--calendar/gui/itip-utils.c1
2 files changed, 2 insertions, 0 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) {