You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@gmail.com> on 2004/12/21 15:44:58 UTC

[1.3 PATCH] backport 2.0 fix to log "-" for %b when through with header but no body bytes sent

See attached patch.

For reference, here is the 2.0 CHANGES entry and a link to the 2.0 patch:

  *) mod_log_config: Fix %b log format to write really "-" when 0 bytes
     were sent (e.g. with 304 or 204 response codes).  [Astrid Ke\337ler]

http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/loggers/mod_log_config.c?r1=1.95.2.6&r2=1.95.2.7

With 1.3, the bytes sent is retrieved from BUFF via a buff option, so
logic is slightly different.

Re: [1.3 PATCH] backport 2.0 fix to log "-" for %b when through with header but no body bytes sent

Posted by André Malo <nd...@perlig.de>.
* Jeff Trawick wrote:

> See attached patch.
>
> For reference, here is the 2.0 CHANGES entry and a link to the 2.0 patch:
>
>   *) mod_log_config: Fix %b log format to write really "-" when 0 bytes
>      were sent (e.g. with 304 or 204 response codes).  [Astrid Ke\337ler]
>
> http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/loggers/mod_log_confi
>g.c?r1=1.95.2.6&r2=1.95.2.7
>
> With 1.3, the bytes sent is retrieved from BUFF via a buff option, so
> logic is slightly different.

+1.

nd
-- 
s;.*;aaaaaoaaaoaaaaooooaaoaaaomaaaa:a:alataa:aaoat:a:a:a
maoaa:a:laoata:a:oia:a:o:a:m:a:o:alaoooat:aaool:aaoaa
matooololaaatoto:aaa:o:a:o:m;;s:\s:\::g;y;mailto:;
\40\51/\134\137|ndparker <nd...@perlig.de>;;print;