httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
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 20:44:12 GMT
On Wed, 2002-08-21 at 21:49, Bojan Smojver wrote:
> On Wed, 2002-08-21 at 17:37, Justin Erenkrantz wrote:
> > On Wed, Aug 21, 2002 at 12:27:29AM -0700, Brian Pane wrote:
> > > The remaining problem is: how can we identify the request_rec from
> > > within core_output_filter()?  Within that filter, f->r is NULL.  I
> > > have some ideas for solving this by putting some metadata in the
> > > brigade to associate each EOS with the corresponding request.
> > > But is there a better solution that already exists for getting
> > > the request_rec?
> > 
> > Actually, I thought it was already fixed, but you're right the
> > connection filters don't yet have access to f->r.
> 
> I think you are right, actually. The CVS version of http_protocol.c is
> different then the one from Apache 2.0.40. It contains a function
> update_r_in_filters(), which (I think) does that. Or maybe it's just
> wishful thinking on my behalf? 

Sorry, that should have been http_request.c, not http_protocol.c.

Bojan


Mime
View raw message