[Spice-devel] [PATCH spice-gtk] Add SpiceSession:proxy

Christophe Fergeau cfergeau at redhat.com
Tue Jan 29 09:09:11 PST 2013


On Tue, Jan 29, 2013 at 06:01:34PM +0100, Marc-André Lureau wrote:
> On Tue, Jan 29, 2013 at 5:54 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > update_proxy(session, NULL); will never unset an already set proxy.
> 
> 
> If SPICE_PROXY is set, it will replace it if it's a valid value.
> 
> If SPICE_PROXY is not set, it won't replace it, keep current proxy. Is
> that a problem?

I think so,
g_object_set (session, "proxy", "http://example.com:8000", NULL);
g_object_set (session, "proxy", NULL, NULL);
will not do what is expected (unset the proxy), will it?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130129/d112993a/attachment.pgp>


More information about the Spice-devel mailing list