httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: httpd-2.0 CHANGES
Date Thu, 05 Dec 2002 03:49:45 GMT
brianp      2002/12/04 19:49:45

  Modified:    modules/proxy proxy_http.c
               .        CHANGES
  Log:
  mod_proxy: Don't remove the Content-Length from responses
  
  Revision  Changes    Path
  1.165     +1 -5      httpd-2.0/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
  retrieving revision 1.164
  retrieving revision 1.165
  diff -u -r1.164 -r1.165
  --- proxy_http.c	8 Nov 2002 09:24:00 -0000	1.164
  +++ proxy_http.c	5 Dec 2002 03:49:45 -0000	1.165
  @@ -907,16 +907,12 @@
   
               /* We need to copy the output headers and treat them as input
                * headers as well.  BUT, we need to do this before we remove
  -             * TE and C-L, so that they are preserved accordingly for
  +             * TE, so that they are preserved accordingly for
                * ap_http_filter to know where to end.
                */
               rp->headers_in = apr_table_copy(r->pool, r->headers_out);
   
  -            /* In order for ap_set_keepalive to work properly, we can NOT
  -             * have any length information stored in the output headers.
  -             */
               apr_table_unset(r->headers_out,"Transfer-Encoding");
  -            apr_table_unset(r->headers_out,"Content-Length");
   
               ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                            "proxy: start body send");
  
  
  
  1.1004    +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1003
  retrieving revision 1.1004
  diff -u -r1.1003 -r1.1004
  --- CHANGES	3 Dec 2002 08:38:43 -0000	1.1003
  +++ CHANGES	5 Dec 2002 03:49:45 -0000	1.1004
  @@ -2,6 +2,9 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) Don't remove the Content-Length from responses in mod_proxy
  +     [Brian Pane]
  +
     *) Move the check of the Expect request header field after the hook
        for ap_post_read_request, since that is the only opportunity for
        modules to handle Expect extensions.  [Justin Erenkrantz]
  
  
  

Mime
View raw message