]> granicus.if.org Git - apache/commitdiff
Fix Win32 compile break introduced by the http_header filter code.
authorBill Stoddard <stoddard@apache.org>
Sun, 22 Oct 2000 10:34:05 +0000 (10:34 +0000)
committerBill Stoddard <stoddard@apache.org>
Sun, 22 Oct 2000 10:34:05 +0000 (10:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86697 13f79535-47bb-0310-9956-ffa450edef68

include/http_protocol.h
modules/http/http_protocol.c

index efbf29f71a26836cb8d6b6be0e04270ce8fbd2bb..3cdf4d720286602d23f3d2b5d8085e1f5f16936d 100644 (file)
@@ -112,7 +112,7 @@ AP_DECLARE(void) ap_basic_http_header(request_rec *r);
  */
 AP_DECLARE(void) ap_send_http_header(request_rec *l);
 
-AP_CORE_DECLARE(int) ap_http_header_filter(ap_filter_t *f, ap_bucket_brigade *b);
+AP_CORE_DECLARE_NONSTD(int) ap_http_header_filter(ap_filter_t *f, ap_bucket_brigade *b);
 
 /* Send the response to special method requests */
 
index e2dfc84bd787664f69ffaa0d903c90f327fb6c34..27119385328829f14ec1b2ea7930e49d744eba12 100644 (file)
@@ -2221,7 +2221,7 @@ AP_DECLARE(void) ap_send_http_header(request_rec *r)
 {
 }
 
-AP_CORE_DECLARE(int) ap_http_header_filter(ap_filter_t *f, ap_bucket_brigade *b)
+AP_CORE_DECLARE_NONSTD(int) ap_http_header_filter(ap_filter_t *f, ap_bucket_brigade *b)
 {
     int i;
     const long int zero = 0L;
@@ -2266,8 +2266,8 @@ AP_CORE_DECLARE(int) ap_http_header_filter(ap_filter_t *f, ap_bucket_brigade *b)
         apr_table_mergen(r->headers_out, "Transfer-Encoding", "chunked");
         apr_table_unset(r->headers_out, "Content-Length");
         /* Disable the buffer filter because it may be masking bugs in the 
-         * bucket brigade code 
-         * ap_add_output_filter("COALESCE", NULL, r, r->connection); */
+         * bucket brigade code  */
+        ap_add_output_filter("COALESCE", NULL, r, r->connection);
         ap_add_output_filter("CHUNK", NULL, r, r->connection);
     }