On Wed, Aug 26, 2009 at 02:26:10PM -0400, Daniel Richard G. wrote:
> On Wed, 2009 Aug 26 11:28+0100, Mark Hindley wrote:
> >
> > I think this is a buffering issue.
> >
> > I can fix it here, and get the right size with the patch below. The
> > other alternative is to use autoflush on $$pkfdref. I need to do some
> > testing to see if that is a better option.
> 
> The patch does the trick. Everything works now, going through the
> dumb-Web-
> server CGI script, and through thttpd normally.

Good

> Do you want to retain the behavior of not returning a body on errors,
> not least 404 errors? On the one hand, the (404) bodies can vary by size
> depending on the upstream server, and they often contain references to
> the upstream server, which may be confusing. On the other hand, body-
> less (404) errors are not typical, because browsers don't play well with
> them. And on yet another hand, browsers typically shouldn't be poking
> around an apt-cacher server anyway....

Yes. apt clients have no use for the 404 body anyway. In the version of
1.7 I have in preparation, the error bodies are no more.

Mark



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to