1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

Don't set bytes_sent to be 0 when r->assbackwards since this screws up

logging.

The content length filter seems to track bytes_sent properly regardless
of HTTP version.  The HTTP header filter knows not to send C-L (or any
headers) to this client.

showstoppers--;

(Also fix typo of my last name in CHANGES...)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93588 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Justin Erenkrantz
2002-02-27 03:55:31 +00:00
parent 402a038805
commit 04533b8d27
3 changed files with 4 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
Changes with Apache 2.0.33-dev
*) Fix CustomLog bytes-sent with HTTP 0.9. [Justin Erenkrantz]
*) Prevent Apache from ignoring SIGHUP due to some lingering 1.3
cruft in piped logs and rewrite child processes.
[William Rowe]
@@ -14,7 +16,7 @@ Changes with Apache 2.0.33-dev
[Ralf S. Engelschall, Cliff Woolley]
*) mod-include: make it handle flush'es and fix the 'false-alarm'
[Justin Everkrantz, Brian Pane, Ian Holsman]
[Justin Erenkrantz, Brian Pane, Ian Holsman]
*) ap_get_*_filter_handle() functions to allow 3rd party modules
to lookup filter handles so they can bypass the filter name

4
STATUS
View File

@@ -1,5 +1,5 @@
APACHE 2.0 STATUS: -*-text-*-
Last modified at [$Date: 2002/02/27 03:17:26 $]
Last modified at [$Date: 2002/02/27 03:55:31 $]
Release:
@@ -83,8 +83,6 @@ FINAL RELEASE SHOWSTOPPERS:
* Graceful restart is broken in the worker MPM.
Message-ID: <m3g03tnrkv.fsf@rdu163-40-092.nc.rr.com>
* CustomLog records 0 for bytes-sent when HTTP level < 1.0.
CURRENT VOTES:
* Should we always build binaries statically unless otherwise

View File

@@ -1165,7 +1165,6 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f,
}
if (r->assbackwards) {
r->bytes_sent = 0;
r->sent_bodyct = 1;
ap_remove_output_filter(f);
return ap_pass_brigade(f->next, b);