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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]