[evolution-data-server] Close the connection in e-webdav-discover (set the soup header for it)
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Close the connection in e-webdav-discover (set the soup header for it)
- Date: Fri, 22 May 2015 14:47:27 +0000 (UTC)
commit 6ede2efff8808142c5610b53fea3ab6b3b4e2744
Author: Milan Crha <mcrha redhat com>
Date: Fri May 22 16:46:35 2015 +0200
Close the connection in e-webdav-discover (set the soup header for it)
libedataserver/e-webdav-discover.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libedataserver/e-webdav-discover.c b/libedataserver/e-webdav-discover.c
index 61642b8..0fc13bf 100644
--- a/libedataserver/e-webdav-discover.c
+++ b/libedataserver/e-webdav-discover.c
@@ -238,6 +238,10 @@ e_webdav_discover_new_propfind (SoupSession *session,
soup_message_headers_append (
message->request_headers,
+ "Connection", "close");
+
+ soup_message_headers_append (
+ message->request_headers,
"Depth", (depth == 0) ? "0" : "1");
output = xmlAllocOutputBuffer (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]