On Fri, Aug 21, 2009 at 06:02:48PM -0400, Daniel Richard G. wrote:
> Package: apt-cacher
> Version: 1.6.8
> 
> This bug report is a spinoff of Bug#517761.
> 
> I'm using thttpd as the Web server for the "simulated repository."
> Apparently, it doesn't support HTTP Keep-Alive (let alone pipelining);
> it only returns one file at a time, always with "Connection: close". And
> here's the thing: It returns a Content-Length header for successful
> requests, but *not* for 404 error pages.

I have just been going through the RFCs. Even if thttpd is only doing
HTTP/1.0, it says

 Applications should use this field to indicate the size of the
 Entity-Body to be transferred, regardless of the media type of the
 entity. A valid Content-Length field value is required on all HTTP/1.0
 request messages containing an entity body.

So, I think this is a thttpd bug, not apt-cacher.

Have I understood you correctly?

Mark



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to