summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendhttp.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-07-01 22:51:39 +0100
committerRoss Lagerwall <rosslagerwall@gmail.com>2014-07-25 17:12:34 +0100
commitbe4fc6f8e8a33e5d6c84d4e2959b3f6d4377f442 (patch)
treee891d8e8876f8b2025cc88d6e4bcede0c08ed529 /daemon/gvfsbackendhttp.h
parent2744d498095aeca09308819bca42d0fe287523d0 (diff)
downloadgvfs-be4fc6f8e8a33e5d6c84d4e2959b3f6d4377f442.tar.gz
http: Remove use of SoupSessionSync/SoupSessionAsync
Since libsoup 2.42.0, SoupSessionSync/SoupSessionAsync are deprecated, and replaced by direct use of SoupSession as described on https://developer.gnome.org/libsoup/stable/libsoup-session-porting.html This commit removes use of SoupSessionSync/SoupSessionAsync and adjusts the code according to the advice in the doc above: - we only need one SoupSession instance as sync/async calls are made depending on the SoupSession method we use, not depending on the instance type - SoupSession already comes with a SoupProxyResolverDefault, we don't need to add it ourselves - SoupSession already comes with a SoupContentDecoder, we don't need to add it ourselves - SoupSession:use-thread-context is now unused and always set to TRUE, so we don't need to change it To prevent any changes in behavior, we set ssl-strict to FALSE. (Patch updated by Ross Lagerwall) (Reapplying now that #732783 and #732925 have been fixed.) https://bugzilla.gnome.org/show_bug.cgi?id=708306 https://bugzilla.gnome.org/show_bug.cgi?id=732090
Diffstat (limited to 'daemon/gvfsbackendhttp.h')
-rw-r--r--daemon/gvfsbackendhttp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/gvfsbackendhttp.h b/daemon/gvfsbackendhttp.h
index 8ff943ca..f132c568 100644
--- a/daemon/gvfsbackendhttp.h
+++ b/daemon/gvfsbackendhttp.h
@@ -51,8 +51,6 @@ struct _GVfsBackendHttp
SoupURI *mount_base;
SoupSession *session;
-
- SoupSession *session_async;
};
GType g_vfs_backend_http_get_type (void) G_GNUC_CONST;