From owner-cvs-src@FreeBSD.ORG Wed Feb 11 09:35:29 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3170216A4CE; Wed, 11 Feb 2004 09:35:29 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7700343D31; Wed, 11 Feb 2004 09:35:28 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org ([66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i1BHZRkX018778; Wed, 11 Feb 2004 09:35:28 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <402A67DF.5030609@acm.org> Date: Wed, 11 Feb 2004 09:35:27 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dag-Erling Smorgrav References: <200402110931.i1B9VeE9055525@repoman.freebsd.org> <20040211141010.04cc322f@it.buh.cameradicommercio.ro> In-Reply-To: <20040211141010.04cc322f@it.buh.cameradicommercio.ro> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libfetch http.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 17:35:29 -0000 >des 2004/02/11 01:31:40 PST > > FreeBSD src repository > > Modified files: > lib/libfetch http.c > Log: > When restarting a transfer that has already completed, the server will > reply with a 416 error code (requested range not satisfiable) because > we ask it to start at the end of the file. Handle this gracefully by > considering a 416 reply a success if the requested offset exactly > matches the length of the file and the requested length is zero. Good work! I've been bitten by this once or twice myself but never dug far enough to figure it out. Tim