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

Alexandre DERUMIER aderumier at odiso.com
Sun Jul 21 23:33:57 PDT 2013


>>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" <mlureau at redhat.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: "spice-devel" <spice-devel at 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 


More information about the Spice-devel mailing list