ftp.cc does not check $no_proxy if $ftp_proxy starts with "http"
Hi,
I am running debian sid with apt-0.5.27.
When $ftp_proxy starts with "http", then methods/ftp will immediately
execute methods/http ignoring the no_proxy variable.
My environment looks like this:
http_proxy=http://proxy.mydomain.foo:80/
ftp_proxy=http://proxy.mydomain.foo:80/
no_proxy=mydomain.foo
/etc/apt/sources.list contains:
deb ftp://mirror.mydomain.foo/debian sid main non-free contrib
deb-src ftp://mirror.mydomain.foo/debian sid main non-free contrib
Since mirror.mydomain.foo doesn't run a proxy on port 80 it is
impossible to connect without unsetting $ftp_proxy before running
apt-get.
I had a look at ftp.cc, but don't know where to get the ftp server name
from inside main().
Regards,
Andreas
Reply to: