httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject svn commit: r110141 - /httpd/httpd/trunk/server/protocol.c
Date Tue, 07 Dec 2004 19:04:23 GMT
Author: bnicholes
Date: Tue Dec  7 11:04:22 2004
New Revision: 110141

URL: http://svn.apache.org/viewcvs?view=rev&rev=110141
Log:
Revert patch r104923.  This patch doesn't actually fix bug 18757 and
breaks TLS upgrade functionality.  Also, removing the content length for
HEAD requests is being handled in ap_http_header_filter().

Modified:
   httpd/httpd/trunk/server/protocol.c

Modified: httpd/httpd/trunk/server/protocol.c
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/protocol.c?view=diff&rev=110141&p1=httpd/httpd/trunk/server/protocol.c&r1=110140&p2=httpd/httpd/trunk/server/protocol.c&r2=110141
==============================================================================
--- httpd/httpd/trunk/server/protocol.c	(original)
+++ httpd/httpd/trunk/server/protocol.c	Tue Dec  7 11:04:22 2004
@@ -1232,11 +1232,8 @@
      *
      * 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.
-     *
-     * Also check against cases of zero bytes sent, to avoid a bogus
-     * C-L on HEAD requests, or no-body GETs like 204s.
      */
-    if (ctx->data_sent == 0 && eos && r->bytes_sent > 0 ) {
+    if (ctx->data_sent == 0 && eos) {
         ap_set_content_length(r, r->bytes_sent);
     }
 

Mime
View raw message