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.

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....



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

Reply via email to