misc/64111: libfetch does not use the FTP_PROXY and HTTP_PROXY vars as documented

Ruslan Ermilov ru at freebsd.org
Wed Mar 17 05:11:19 PST 2004

On Wed, Mar 17, 2004 at 07:53:23AM -0500, Lowell Gilbert wrote:
> Gleb Smirnoff <glebius at 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?
It's hard to find it when you read about FTP_PROXY.  Lazy readers tend not to
read through the entire manpage.  Gleb will provide patches for the manpage,
given my suggestions, and I will commit them.

Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20040317/10540a1c/attachment.bin

More information about the freebsd-bugs mailing list