diff options
| author | Pavel Grunt <pgrunt@redhat.com> | 2015-06-02 17:49:14 +0200 |
|---|---|---|
| committer | Pavel Grunt <pgrunt@redhat.com> | 2015-06-03 10:22:06 +0200 |
| commit | 01540664bd0608a02a0be787eb548709f3d68fe1 (patch) | |
| tree | 9a917abd143b53e9c6a36dc2bd39714b3351b0cc | |
| parent | 3bf5ef7dc32da6349e82c0bc39b7884ce6d517de (diff) | |
session: Enable proxy when requested
Disabling the proxy avoids usage of GProxyResolver to determine
the necessary proxy protocol and to do the proxy negotiation.
| -rw-r--r-- | gtk/spice-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
