[Spice-devel] spice-gtk http connect proxy authentification ?

Alexandre DERUMIER aderumier at odiso.com
Tue Jul 16 22:24:29 PDT 2013


Hi,

I would like to known if it's planned to add authentification to http spice_proxy soon ?

I think It should be easy, 

we just need to be able to parse a proxy url like this

http://username:password@host:port


then replace in spice-session.c

   address = g_proxy_address_new(G_INET_ADDRESS(it->data), pport, "http",
+                                      s->host, port, NULL, NULL);

by 

   address = g_proxy_address_new(G_INET_ADDRESS(it->data), pport, "http",
+                                      s->host, port, username, password);



Best Regards,

Alexandre


More information about the Spice-devel mailing list