From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 15 09:00:47 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68A8B16A4D6 for ; Thu, 15 Jul 2004 09:00:47 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 604B343D3F for ; Thu, 15 Jul 2004 09:00:47 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i6F90lu3016152 for ; Thu, 15 Jul 2004 09:00:47 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6F90lAb016151; Thu, 15 Jul 2004 09:00:47 GMT (envelope-from gnats) Date: Thu, 15 Jul 2004 09:00:47 GMT Message-Id: <200407150900.i6F90lAb016151@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Volker Stolz" Subject: Re: bin/68547: ftp breaks on chunked encoding (http) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Volker Stolz List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 09:00:47 -0000 The following reply was made to PR bin/68547; it has been noted by GNATS. From: "Volker Stolz" 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