[gvfs] dav: Send enumerate success earlier
- From: Ross Lagerwall <rossl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] dav: Send enumerate success earlier
- Date: Thu, 14 Aug 2014 17:03:08 +0000 (UTC)
commit aae5c91460a36f091384a4b3bcbb8cb70f33f135
Author: Ross Lagerwall <rosslagerwall gmail com>
Date: Sat Jun 7 17:08:35 2014 +0100
dav: Send enumerate success earlier
Send a "success" response earlier when enumerating to allow infos to be
sent incrementally rather than batched up until the end.
https://bugzilla.gnome.org/show_bug.cgi?id=734695
daemon/gvfsbackenddav.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c
index d88e4fc..4ea9af5 100644
--- a/daemon/gvfsbackenddav.c
+++ b/daemon/gvfsbackenddav.c
@@ -2160,6 +2160,7 @@ do_enumerate (GVfsBackend *backend,
g_object_unref (msg);
return;
}
+ g_vfs_job_succeeded (G_VFS_JOB (job));
multistatus_get_response_iter (&ms, &iter);
@@ -2185,7 +2186,6 @@ do_enumerate (GVfsBackend *backend,
multistatus_free (&ms);
g_object_unref (msg);
- g_vfs_job_succeeded (G_VFS_JOB (job)); /* should that be called earlier? */
g_vfs_job_enumerate_done (G_VFS_JOB_ENUMERATE (job));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]