bin/68547: ftp breaks on chunked encoding (http)

Volker Stolz vs at freebsd.org
Thu Jul 15 02:00:47 PDT 2004


The following reply was made to PR bin/68547; it has been noted by GNATS.

From: "Volker Stolz" <vs at freebsd.org>
To: freebsd-gnats-submit at freebsd.org, weerd at 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


More information about the freebsd-bugs mailing list