[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: proxy support

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2001-11-02 07:48:33 CET

On Thu, 1 Nov 2001, Jonathan M. Manning wrote:

> First, the environment variable HTTP_PROXY is very common...

Uh, you mean 'http_proxy' (lowercase), right? Environment variables prefixed
with HTTP_ (uppercase) gets set in CGI environments so you should never use
them otherwise, as using such a program within a CGI script would otherwise
easily become hazaradous.

In the same style, there's usually a 'no_proxy' environment variable as well
that defines a list of hosts that don't need the proxy.

> That sound's like a good strategy. Use http_proxy unless:
> a) a no proxy option is specified on the command line
> b) it's turned off in the per-project config
> c) it's overridden to a new proxy in the per-project config

I could go with this approach.

      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:47 2006

This is an archived mail posted to the Subversion Dev mailing list.