Date: Thu, 15 Jul 2004 09:00:47 GMT From: "Volker Stolz" <vs@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/68547: ftp breaks on chunked encoding (http) Message-ID: <200407150900.i6F90lAb016151@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/68547; it has been noted by GNATS. From: "Volker Stolz" <vs@freebsd.org> To: freebsd-gnats-submit@freebsd.org, weerd@weirdnet.nl Cc: Subject: Re: bin/68547: ftp breaks on chunked encoding (http) Date: Thu, 15 Jul 2004 10:54:41 +0200 The correct solution would be for ftp to never send the HTTP/1.1 header since it obviously IS NOT HTTP/1.1-compliant. RFC 2616 clearly states in section 3.6.1: "All HTTP/1.1 applications MUST be able to receive and decode the "chunked" transfer-coding, and MUST ignore chunk-extension extensions they do not understand." However, ftp has already been replaced in -CURRENT, so this applies only to usr.bin/ftp/fetch.c on 4.X, but would be a useful addition, especially in the face of the pending EOL of 4.X. Volker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407150900.i6F90lAb016151>