diff options
author | Michael Vogt <mvo@debian.org> | 2005-01-14 10:27:14 +0000 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2005-01-14 10:27:14 +0000 |
commit | 67073e88fc4654be702fe3b176e94b86a484a858 (patch) | |
tree | 09a9a0af0690bf809551b68248ac7f10949f9ed5 /methods | |
parent | e5dfb858ba7dc53c2a29324f2b4678f4f6912871 (diff) |
* commented the ftp no_proxy unseting in methods/ftp.cc
Diffstat (limited to 'methods')
-rw-r--r-- | methods/ftp.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc index 00d3476c8..c115e165d 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -1098,8 +1098,10 @@ int main(int argc,const char *argv[]) char S[300]; snprintf(S,sizeof(S),"http_proxy=%s",getenv("ftp_proxy")); putenv(S); - //mvo: why should we unset no_proxy here? - //putenv("no_proxy="); + // mvo: because we switch from ftp to http we have to unset + // "no_proxy". otherwise the http method would try to + // get a ftp url using http (see #283718) + putenv("no_proxy="); // Run the http method string Path = flNotFile(argv[0]) + "http"; |