Blame SOURCES/0012-session-Enable-proxy-when-requested.patch
|
|
67137c |
From bec4fee3966dc78e7214c4bb00c06b4f4ea3cb49 Mon Sep 17 00:00:00 2001
|
|
|
67137c |
From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fidencio@redhat.com>
|
|
|
67137c |
Date: Tue, 1 Sep 2015 13:29:15 +0200
|
|
|
67137c |
Subject: [PATCH 13/13] session: Enable proxy when requested
|
|
|
67137c |
|
|
|
67137c |
Disabling the proxy avoids usage of GProxyResolver to determine
|
|
|
67137c |
the necessary proxy protocol and to do the proxy negotiation
|
|
|
67137c |
---
|
|
|
67137c |
gtk/spice-session.c | 2 +-
|
|
|
67137c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
67137c |
|
|
|
67137c |
diff --git a/gtk/spice-session.c b/gtk/spice-session.c
|
|
|
67137c |
index 2a53230..4e41ced 100644
|
|
|
67137c |
--- a/gtk/spice-session.c
|
|
|
67137c |
+++ b/gtk/spice-session.c
|
|
|
67137c |
@@ -1895,7 +1895,7 @@ GSocketConnection* spice_session_channel_open_host(SpiceSession *session, SpiceC
|
|
|
67137c |
|
|
|
67137c |
open_host.client = g_socket_client_new();
|
|
|
67137c |
#if GLIB_CHECK_VERSION(2,26,0)
|
|
|
67137c |
- g_socket_client_set_enable_proxy(open_host.client, FALSE);
|
|
|
67137c |
+ g_socket_client_set_enable_proxy(open_host.client, s->proxy != NULL);
|
|
|
67137c |
g_socket_client_set_timeout(open_host.client, SOCKET_TIMEOUT);
|
|
|
67137c |
#else
|
|
|
67137c |
open_host.timeout_id =
|
|
|
67137c |
--
|
|
|
67137c |
2.4.3
|
|
|
67137c |
|