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

2013-07-22 Thread Alexandre DERUMIER
Open a bug? Send a patch? :) 

Thanks,

I'll try to make a patch.

As workaround for now, I'm using host value as ticket, with encoded 
user,pass,host.
(As I'm using custom http proxy, I can decode them)


- Mail original - 

De: Marc-André Lureau mlur...@redhat.com 
À: Alexandre DERUMIER aderum...@odiso.com 
Cc: spice-devel spice-devel@lists.freedesktop.org 
Envoyé: Mercredi 17 Juillet 2013 12:27:09 
Objet: Re: [Spice-devel] spice-gtk http connect proxy authentification ? 


Hi 

- Mensaje original - 
 Hi, 
 
 I would like to known if it's planned to add authentification to http 
 spice_proxy soon ? 

It wasn't planned so far. 

 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); 
 
 

Open a bug? Send a patch? :) 

thanks 
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel


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

2013-07-17 Thread Marc-André Lureau

Hi

- Mensaje original -
 Hi,
 
 I would like to known if it's planned to add authentification to http
 spice_proxy soon ?

It wasn't planned so far.

 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);
 
 

Open a bug? Send a patch? :)

thanks
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel


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

2013-07-16 Thread Alexandre DERUMIER
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
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel