httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject Re: apache 2.0.43: %b not showing "bytes sent" but "bytes requested"
Date Sat, 12 Oct 2002 03:18:56 GMT
On 12 Oct 2002, Bojan Smojver wrote:

> On Fri, 2002-10-11 at 18:58, David Burry wrote:
> 
> > This should also be a concern for anyone who's using mod_logio to charge for
> > bandwidth, because customers should be concerned about some serious
> > overcharging going on here!
> 
> Only if you charge for outgoing bandwidth. On incoming bandwidth, I
> think it should be pretty accurate because it won't count what wasn't
> received.
> 
> Anyway, I think what's causing this problem is the fact that mod_logio
> calculates the length of all brigades that are ready to be sent out. If
> the sending gets interrupted in the middle, the whole thing gets
> reported, instead of just the buckets/brigades that were actually sent
> out. Maybe I should use (AP_FTYPE_NETWORK + 1) instead of
> (AP_FTYPE_NETWORK - 1) for the output filter (i.e. count after the
> sending, not before). I'll give it a try...

That won't work.  The core_filter will return without calling your
filter.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
550 Jean St
Oakland CA 94610
-------------------------------------------------------------------------------


Mime
View raw message