httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Burry" <dbu...@tagnet.org>
Subject Re: apache 2.0.43: %b not showing "bytes sent" but "bytes requested"
Date Fri, 11 Oct 2002 16:06:32 GMT
Being off by a little is better than being off by the whole thing... My
tests show that was Apache 1.3 behavior...  At least that way the value is
close, so if you're charging for bandwidth you're not overcharging so much,
and you can still tell if the whole file got there or not.

Dave

----- Original Message -----
From: "Bennett, Tony - CNF" <Bennett.Tony@cnf.com>
> I believe the %b gets its value from the request_rec's bytes_sent
> member.  This field is filled in by the content_length output
> filter.  It is not filled in during the actual send operation.
> Even if it was filled in following each "send", that doesn't
> mean it was received by the client... in the event of a disconnect,
> I believe the bytes_sent will always be off.
>
> -tony


Mime
View raw message