Changes with Apache 2.0.48
+ *) 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ßler]
+
*) Modify ap_get_client_block() to note if it has seen EOS.
[Justin Erenkrantz]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/09/19 20:06:31 $]
+Last modified at [$Date: 2003/09/21 21:23:34 $]
Release:
modules/mappers/mod_rewrite.c: r1.228
+1: nd
- * Fix mod_log_config's %b format to write "-" in case of bytes_sent == 0.
- modules/loggers/mod_log_config.c: r1.106
- +1: nd, jorton, trawick
-
* Overhaul of mod_include's filter parser.
modules/filters/mod_include.c: r1.235, r1.236
modules/filters/mod_include.h: r1.35
static const char *clf_log_bytes_sent(request_rec *r, char *a)
{
- if (!r->sent_bodyct) {
+ if (!r->sent_bodyct || !r->bytes_sent) {
return "-";
}
else {
static const char *log_bytes_sent(request_rec *r, char *a)
{
- if (!r->sent_bodyct) {
+ if (!r->sent_bodyct || !r->bytes_sent) {
return "0";
}
else {