The following reply was made to PR pkg/47424; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/47424 (pkgsrc "make fetch" fails to fetch fotoxx-13.01.tar.gz
for graphics/fotoxx)
Date: Sat, 12 Jan 2013 07:21:14 +0700
Date: Fri, 11 Jan 2013 17:45:02 +0000 (UTC)
From: David Holland <dholland-pbugs%NetBSD.org@localhost>
Message-ID: <20130111174502.DD0A063C07C%www.NetBSD.org@localhost>
| That is at least one and maybe two bugs; ftp should write out the data
| it has and not throw it away...
Yes, possibly.
| and also, it should be capable of
| noticing that it's received the entire Content-Length and proceeding
| accordingly rather than timing out.
I'll leave it up to someone more familiar with the GTTP spec (like someone
who has actually read it, rather than just reading about it) to determine
what is correct behaviour when the client requests that end of transfer be
signalled by closing the connection (original HTTP 1.0 behaviour) but the
server wants to implement connection keep-alive (so the client can either
reuse the connection, or otherwise initiale the close, so it gets TIME WAIT
state rather than the server).
kre