httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <>
Subject Re: apache 2.0.43: %b not showing "bytes sent" but "bytes requested"
Date Fri, 11 Oct 2002 01:33:31 GMT
Quoting David Burry <>:

> However, in testing I clearly see it's logging the number of bytes
> _requested_ (that is, that apache intended to send)!!! not the actual bytes
> _sent_!!!  If a user presses the cancel button on their browser or they're
> cut off in the middle, this number is not accurate at all, because it appears
> the entire file was sent when it was not.

Have you tried using mod_logio? If won't only give you the "body" bytes, but
also the "headers" bytes. It reports the number of input bytes too and should
understand encryption and compression. You can either check it out from Apache
CVS (HEAD), or download the patch for 2.0.43 here:

You'd use it with %I (for input) and %O (for output). It would be interesting to
know if it reports accurately in the case you described...


View raw message