Re: global proxy settings



Hi,

On Fri, 2001-12-21 at 01:19, Maciej Stachowiak wrote:
> The password should not be stored in GConf. The username, maybe, as a
> convenience. The user should get promted for the proxy password as
> needed (ideally only once per app or once per session). 

What we don't want is this stuck in the applications.  We would be no
better off than we are now.

Does GConf have any way to call code or activate a moniker when a key
read happens?  Other than that I can't see a clean way to implement this
without a custom library.

> > > Does 
> > > 	/system/gnome-vfs/
> > > 		use-socks-proxy 
> > > 		socks-proxy-host 
> > > 		socks-proxy-user 
> > > 		socks-proxy-password
> > > 
> > > work for everyone as well?
> 
> These sound fine to me (although gnome-vfs does not support them yet).

Check out soup/src/libsoup/soup-socks.c for code to do this.

>  > Which takes precedence, a SOCKS proxy or an HTTP proxy?  I think it
> > would be better to have a "use-proxy" flag, and just use a URL, with
> > "http", "socks4" or "socks5" as the protocol.
> 
> It's perfectly valid to have a setup where you use an http proxy for
> http and a SOCKS proxy for all other ports. 
> 
> So I think it should be valid to have both set, and to have the http
> proxy take precedence, for http.

Yes, proxy auto-config urls should have a key as well.

-Alex

-- 
 Think about it man!  Rock singers are only rockin you half the time... 
 the other time they're... they're breathing... in!  But not anymore 
 baby!

			-- Tenacious D



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