On Thu, Oct 24, 2002 at 05:25:46PM -0700, David Burry wrote:
> Excellent!  I will perform some tests with that when I get a chance!  You managed to 
>get it working without breaking pipelining even?  That's awesome!
> 
> Not meaning to belittle Bojan's hard work, but for my purposes mod_logio values are 
>not as good as %b would be if %b worked properly... what I ideally need is the byte 
>sent count without the headers... using Bojan's module I can get approximate results 
>but they will be a hair off because they include headers...  My main purpose is to 
>detect if and when several meg files have been downloaded all the way vs. if they 
>were cut off in the middle, including if a given user uses some byte-ranging download 
>manager that lets you pause and restart...  We also use it for chargebacks to the 
>various departments for bandwidth usage (in this case mod_logio would of course be 
>more accurate than %b though)...  We actually had to fudge some of our statistics 
>(duplicated nearby days' data with similar overall throughputs) due to us not 
>catching the problem with Apache 2.0 soon enough...
Have you looked at the %...X directive in Apache2?
  http://httpd.apache.org/docs-2.0/mod/mod_log_config.html

  %...X: Connection status when response is completed. 
         'X' = connection aborted before the response completed.
         '+' = connection may be kept alive after the response is sent.
         '-' = connection will be closed after the response is sent. 

         (This directive was %...c in late versions of Apache 1.3, but
          this conflicted with the historical ssl %...{var}c syntax.) 

I don't know if this works in Apache2, but this is what the docs say.
Discussion of Apache2 design on this list would suggest that it might
suffer from the same limitation that %b currently exhibits.

(In the past, I used the %c in Apache 1.3 with success when tallying
 whether or not a download of a .cab installer completed successfully.
 And I didn't have to know the size of the file for comparison.  Nice!)

-Glenn

> At 09:15 AM 10/25/2002 +1000, Bojan Smojver wrote:
> >On Fri, 2002-10-25 at 07:42, David Burry wrote:
> >
> >> I see.. ok, I'll keep waiting patiently...
> >
> >The patch for 2.0.43 is here:
> >
> >ftp://ftp.rexursive.com/pub/apache/counting_io_flush-2.0.43.patch
> >
> >You need to apply mod_logio patch for 2.0.43 first.
> >
> >Bojan

Reply via email to