#8 Patch so mod_status counts gzip'ed traffic

open
nobody
None
5
2004-02-04
2004-02-04
Anonymous
No

Here is a patch, so the output of mod_status includes
the gzip'ed traffic:

*** ORIG/mod_gzip-1.3.26.1a/mod_gzip.c Tue Oct
1 09:29:49 2002
--- mod_gzip-1.3.26.1a/mod_gzip.c Wed Feb
4 15:16:07 2004
***************
*** 7146,7151 ****
--- 7146,7154 ----
{
r->connection->client->bytes_sent =
total_body_bytes_sent;
}
+ /* BEGIN Till Brychcy 2004/02/04: this has to be set or
mod_status will get the
traffic
wrong*/
+ r->sent_bodyct = 1;
+ /* END Till Brychcy 2004/02/04: this has to be set or
mod_status will get the
traffic
wrong*/

#ifdef MOD_GZIP_DEBUG1
mod_gzip_printf( "%s: After count update...",cn);

Discussion