[Spice-devel] [PATCH spice-gtk] session: Enable proxy when requested

Marc-André Lureau mlureau at redhat.com
Tue Jun 2 09:05:47 PDT 2015


hi

----- Original Message -----
> Disabling the proxy avoids usage of GProxyResolver to determine
> the necessary proxy protocol and to do the proxy negotiation.
> ---
>  gtk/spice-session.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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);
>  

ack


>      g_idle_add(open_host_idle_cb, &open_host);
> --
> 2.4.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list