At 02:51 AM 7/14/2002, you wrote:
>Currently, the content-length filter attempts to compute the length
>of the entire response before passing any data on to the next filter,
>and it sets request_rec->bytes_sent to the computed content-length.

The real answer is simple.  C-L filter should only set the "Content-Length".

Move the bytes_sent computation into the HTTP filter, AFTER we
return success from pass_brigade.  If pass brigade fails, the bytes
were not sent.  If they were set aside, oh well, we will never know.

Bill


Reply via email to