Date: Sat, 26 Jul 1997 15:32:11 -0400 (EDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: =?iso-8859-1?Q?=C5ge_R=F8bekk?= <aagero@aage.priv.no> Cc: freebsd-bugs@FreeBSD.ORG Subject: fetch doesn't work with ftp URLS and HTTP_PROXY set Message-ID: <199707261932.PAA23528@khavrinen.lcs.mit.edu> In-Reply-To: <19970726121259.13881@aage.priv.no> References: <19970726121259.13881@aage.priv.no>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sat, 26 Jul 1997 12:12:59 +0200, =?iso-8859-1?Q?=C5ge_R=F8bekk?= <aagero@aage.priv.no> said: > http.c, line 246: > if (strncmp(uri, "http://", 7) == 0) { > should read > if ((strncmp(uri, "http://", 7) == 0) || (strncmp("ftp://", 6) == 0)) { > in order to work properly with ftp URLs. Ummm, the only thing the two code paths do differently is that the first passes a `Host:' header whereas the second does not. Are you suggesting that some proxies require FTP requests to have a Host header? Bizarre.... -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707261932.PAA23528>