--- httpd-2.0.48/server/protocol.c.orig Wed Sep 10 20:13:51 2003 +++ httpd-2.0.48/server/protocol.c Wed Feb 4 11:50:49 2004 @@ -1255,7 +1255,7 @@ * We can only set a C-L in the response header if we haven't already * sent any buckets on to the next output filter for this request. */ - if (ctx->data_sent == 0 && eos) { + if (ctx->data_sent == 0 && eos && !r->header_only) { ap_set_content_length(r, r->bytes_sent); }