Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 1998 01:10:01 -0700 (PDT)
From:      Martin Cracauer <cracauer@cons.org>
To:        freebsd-bugs
Subject:   Re: bin/6371: fetch(1) uses HTTP_PROXY for ftp requests when FTP_PROXY undefined
Message-ID:  <199804230810.BAA26819@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/6371; it has been noted by GNATS.

From: Martin Cracauer <cracauer@cons.org>
To: Dave Chapeskie <dchapes@ddm.on.ca>, Martin Cracauer <cracauer@cons.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/6371: fetch(1) uses HTTP_PROXY for ftp requests when FTP_PROXY undefined
Date: Thu, 23 Apr 1998 10:04:40 +0200

 In <19980422233637.18932@ddm.on.ca>, Dave Chapeskie wrote: 
 > On Wed, Apr 22, 1998 at 12:32:45PM +0200, Martin Cracauer wrote:
 > > Theres are the cases to consider:
 > [...]
 > > 3) I have a proxy that uses the http protocol and serves http and ftp
 > >    requests. That means, you can get ftp urls by using http to talk to
 > >    your proxy. This is what fetch does when HTTP_PROXY is set, but
 > >    FTP_PROXY isn't. 
 > > 
 > > You fix breaks case 3, which is a pretty common one, IMHO. I at
 > > least use such a proxy.
 > 
 > It doesn't break it.  Just don't set FTP_PROXY.  All I did was change
 > the meaning of FTP_PROXY="" from undefined to "Don't use any proxy".
 
 What I meant is that if you define HTTP_PROXY, but not FTP_PROXY,
 there are two noncompatible things to do:
 1) Don't use a proxy for ftp urls, get then directly.
 2) get ftp urls from the HTTP_PROXY, talking http to the proxy
 
 The latter is what fetch does for now and my understanding is that you
 want it to do 1). In that case, people can't fetch ftp urls from a
 proxy they have talk http to.
 
 To further illustrate my point, if you set FTP_PROXY, it obviously
 mean you should get ftp urls from this proxy, but will you talk ftp or
 http to the proxy?
 
 Martin
 -- 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer
   cracauer@wavehh.hanse.de (batched, preferred for large mails)
   Tel.: (daytime) +4940 41478712 Fax.: (daytime) +4940 41478715
   Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536
   Paper: (private) Waldstrasse 200, 22846 Norderstedt, Germany

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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