httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: apache 2.0.43: %b not showing "bytes sent" but "bytes requested"
Date Sat, 12 Oct 2002 04:03:45 GMT
At 10:21 PM 10/11/2002, wrote:

>What we are learning here is simple.  We need to do the counting in the
>core_output_filter.  If that means adding a field to the conn_rec, or
>somehow getting the request_rec in the core_output_filter doesn't
>matter.  The count needs to be done in the core_output_filter, by tallying
>the amount of data actually written.

How?  The request is destroyed already.  The remaining body is sitting
on the connection scope waiting to flush out.  The model is borked.

A change proposal for 2.1 that I hinted to earlier.  Three scopes, not two...


(or call them
whichever we prefer.)

The middle tier can live out the body, even as we begin a new
request handler for another pipelined request.  The hard work of
creating the response has already fallen out of scope, so the
impact to the memory footprint shouldn't be all that great.


View raw message