log either - or 0, before this patch, they were both logging
the file size.
PR: 8021
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90870
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.26-dev
+ *) Fix logging of bytes sent for HEAD requests. %b and %B should
+ log either - or 0, before this patch, they were both logging
+ the file size. [Taketo Kabe <kabe@sra-tohoku.co.jp>]
+
*) Make mod_include check for BYTE_CHECK_THRESHOLD per bucket rather
than per character. [Brian Pane <bpane@pacbell.net>]
terminate_header(b2);
- r->sent_bodyct = 1; /* Whatever follows is real body stuff... */
-
ap_pass_brigade(f->next, b2);
if (r->header_only) {
return OK;
}
+ r->sent_bodyct = 1; /* Whatever follows is real body stuff... */
+
if (r->chunked) {
/* We can't add this filter until we have already sent the headers.
* If we add it before this point, then the headers will be chunked