From owner-freebsd-ports@FreeBSD.ORG Tue Jan 28 14:10:46 2014 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B6E9739; Tue, 28 Jan 2014 14:10:46 +0000 (UTC) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id CFB821132; Tue, 28 Jan 2014 14:10:45 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id E36982391; Tue, 28 Jan 2014 14:10:44 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id 9261631015; Tue, 28 Jan 2014 15:10:49 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Rainer Hurling Subject: Re: r341435: deletion of graphics/fotoxx References: <52E6A7E8.90301@gwdg.de> <52E6A9FB.7080602@gwdg.de> <20140127194905.GD33006@ithaqua.etoilebsd.net> <52E6C085.4050808@gwdg.de> <20140127233352.4d82aad1@bsd64.grem.de> <86y520bewn.fsf@nine.des.no> <52E785ED.2040504@gwdg.de> Date: Tue, 28 Jan 2014 15:10:49 +0100 In-Reply-To: <52E785ED.2040504@gwdg.de> (Rainer Hurling's message of "Tue, 28 Jan 2014 11:26:53 +0100") Message-ID: <86ppncb3iu.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Baptiste Daroussin , FreeBSD ports list , Michael Gmelin X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 14:10:46 -0000 Rainer Hurling writes: > In the meantime, the author of fotoxx, Michael Cornelison, answered to > me two times. Mike confirms, that the file is fetchable from different > Linux systems and that in his eyes, there is no problem with reported > and de facto file length. > > Trying to load fotoxx-14.01.1.tar.gz via ftp/wget seems to work without > problems and gives me a file length of 2696186 (!) bytes. > > So I am irritated which file length is right and what's going on here ... What's going on is that the server accepts persistent connections but does not have a request timeout set, so libfetch, due to an unexpected interaction between multiple buffering layers, hangs waiting for more data while the server hangs waiting for the next request; then libfetch times out and doesn't notice that it already received exactly the amount of data it expected. Most servers have very short request timeouts, so they close the connection while libfetch is waiting, which libfetch interprets as an EOF (which is an expected condition as long as it received all the data it wanted) as opposed to a timeout (which is an error). Anyway, it was fixed in head in r261230. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no