From 5c5fce352ffcde33d8daf9d76805621afe6ce685 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 16 Oct 2015 17:24:07 +0200 Subject: Set the proxy on the Soup session so we use a set proxy. --- libplanfahr/providers/hafas-bin6.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libplanfahr/providers/hafas-bin6.c b/libplanfahr/providers/hafas-bin6.c index 2b2ac1b..6d50c9d 100644 --- a/libplanfahr/providers/hafas-bin6.c +++ b/libplanfahr/providers/hafas-bin6.c @@ -888,6 +888,11 @@ lpf_provider_hafas_bin6_activate (LpfProvider *self, GObject *obj) if (debugstr && strstr (debugstr, "provider")) priv->debug = TRUE; + g_object_set (G_OBJECT (priv->session), + SOUP_SESSION_PROXY_RESOLVER, + g_proxy_resolver_get_default(), + NULL); + dir = g_file_new_for_path (priv->logdir); g_file_make_directory_with_parents (dir, NULL, NULL); g_object_unref (dir); -- cgit v1.2.3