httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bri...@apache.org>
Subject Re: Counting bytes_sent in core output_filter Re: [PATCH: Apache 2.0] mod_log_config: input/output bytes
Date Wed, 21 Aug 2002 19:22:09 GMT
rbb@apache.org wrote:

>On Wed, 21 Aug 2002, Brian Pane wrote:
>
>  
>
>>rbb@apache.org wrote:
>>
>>    
>>
>>>To solve the original problem, just look for ap_check_pipeline_flush, and
>>>around that function (or in the core's log_transaction phase), just reset
>>>c->bytes_sent to 0.  If you do it in the core's log_transaction phase,
>>>just make sure that the function is registered AP_HOOK_REALLY_LAST.
>>>
>>>      
>>>
>>c->bytes_sent?  Did you mean r->bytes_sent?  The conn_rec doesn't
>>have a byte count.
>>    
>>
>
>Yeah, sorry.
>  
>

Okay, now I'm less confused. :-)  But we still have the problem of
updating r->bytes_sent from the core output filter, given that we
don't have access to r.  Do you have any ideas on that (other than
storing metadata in the brigade to associate buckets with requests)?

Thanks,
Brian



Mime
View raw message