summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackenddav.c
diff options
context:
space:
mode:
authorChristian Kellner <gicmo@gnome.org>2008-02-25 15:05:40 +0000
committerChristian Kellner <gicmo@src.gnome.org>2008-02-25 15:05:40 +0000
commitd74694bc64ec1f83e09c9ab78ec19e1181c46817 (patch)
tree8547b197c4aa1ec500f10f7c33e0f59579774c3a /daemon/gvfsbackenddav.c
parentee880a4f8cd879cdf6e5fc1903705d39334edf3b (diff)
downloadgvfs-d74694bc64ec1f83e09c9ab78ec19e1181c46817.tar.gz
Add a SoupSessionAsync to be used for SoupInputStream doesn't yet work
2008-02-25 Christian Kellner <gicmo@gnome.org> * daemon/gvfsbackenddav.c: * daemon/gvfsbackendhttp.c: * daemon/gvfsbackendhttp.h: Add a SoupSessionAsync to be used for SoupInputStream doesn't yet work with SoupSessionSync. Also make sure we share authentication. svn path=/trunk/; revision=1369
Diffstat (limited to 'daemon/gvfsbackenddav.c')
-rw-r--r--daemon/gvfsbackenddav.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c
index 2fd01869..a62153ef 100644
--- a/daemon/gvfsbackenddav.c
+++ b/daemon/gvfsbackenddav.c
@@ -1069,6 +1069,13 @@ do_mount (GVfsBackend *backend,
G_CALLBACK (soup_authenticate_from_data),
info);
+ /* also auth the workaround async session we need for SoupInputStream */
+ g_signal_connect (G_VFS_BACKEND_HTTP (backend)->session_async, "authenticate",
+ G_CALLBACK (soup_authenticate_from_data),
+ info);
+
+
+
g_vfs_job_succeeded (G_VFS_JOB (job));
g_print ("- mount\n");
}