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

Lowell Gilbert freebsd-bugs-local at be-well.no-ip.com
Wed Mar 17 04:54:35 PST 2004


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?


More information about the freebsd-bugs mailing list