Skip site navigation (1)Skip section navigation (2)
Date:      17 Mar 2004 07:53:23 -0500
From:      Lowell Gilbert <freebsd-bugs-local@be-well.no-ip.com>
To:        Gleb Smirnoff <glebius@cell.sick.ru>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/64111: libfetch does not use the FTP_PROXY and HTTP_PROXY vars as documented
Message-ID:  <44n06fws70.fsf@be-well.ilk.org>
In-Reply-To: <200403171210.i2HCAKhu099875@freefall.freebsd.org>
References:  <200403171210.i2HCAKhu099875@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gleb Smirnoff <glebius@cell.sick.ru> writes:

>  I'm very sorry! The above statement is correct. But I think there should be
>  explicitly said that HTTP_PROXY is used for ftp in absence of FTP_PROXY.
>  
>  Like this:
>  
>  			If HTTP_PROXY variable is defined and FTP_PROXY is not,
>  			http proxy is used. To avoid this behavior, one should
>  			set FTP_PROXY to an empty string. In this case no proxy
>  			will be used for FTP requests, even if the HTTP_PROXY
>  			variable is set.

What about:

    HTTP_PROXY          URL of the proxy to use for HTTP requests.  The docu-
                         ment part is ignored.  Only HTTP proxies are sup-
                         ported for HTTP requests.  If no port number is spec-
                         ified, the default is 3128.

                         Note that this proxy will also be used for FTP docu-
                         ments, unless the FTP_PROXY variable is set.

How does that not cover it?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44n06fws70.fsf>