[Spice-commits] gtk/spice-session.c
Pavel Grunt
pgrunt at kemper.freedesktop.org
Wed Jun 3 01:22:53 PDT 2015
gtk/spice-session.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 01540664bd0608a02a0be787eb548709f3d68fe1
Author: Pavel Grunt <pgrunt at redhat.com>
Date: Tue Jun 2 17:49:14 2015 +0200
session: Enable proxy when requested
Disabling the proxy avoids usage of GProxyResolver to determine
the necessary proxy protocol and to do the proxy negotiation.
diff --git a/gtk/spice-session.c b/gtk/spice-session.c
index f85e5c1..778d82a 100644
--- a/gtk/spice-session.c
+++ b/gtk/spice-session.c
@@ -2132,7 +2132,7 @@ GSocketConnection* spice_session_channel_open_host(SpiceSession *session, SpiceC
}
open_host.client = g_socket_client_new();
- g_socket_client_set_enable_proxy(open_host.client, FALSE);
+ g_socket_client_set_enable_proxy(open_host.client, s->proxy != NULL);
g_socket_client_set_timeout(open_host.client, SOCKET_TIMEOUT);
g_idle_add(open_host_idle_cb, &open_host);
More information about the Spice-commits
mailing list