You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2003/01/21 16:46:45 UTC

cvs commit: httpd-2.0/modules/proxy proxy_http.c

minfrin     2003/01/21 07:46:45

  Modified:    .        Tag: APACHE_2_0_BRANCH CHANGES
               modules/proxy Tag: APACHE_2_0_BRANCH proxy_http.c
  Log:
  Don't remove the Content-Length from responses in mod_proxy
  PR: 8677
  Submitted by:	Brian Pane
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.988.2.22 +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.988.2.21
  retrieving revision 1.988.2.22
  diff -u -r1.988.2.21 -r1.988.2.22
  --- CHANGES	21 Jan 2003 11:04:35 -0000	1.988.2.21
  +++ CHANGES	21 Jan 2003 15:46:44 -0000	1.988.2.22
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.45
   
  +  *) Don't remove the Content-Length from responses in mod_proxy
  +     PR: 8677 [Brian Pane]
  +
     *) Ensure LDAP version is set to v3 on every bind. PR 14235.
        [Sergey A. Lipnevich <se...@pisem.net>]
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.164.2.1 +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.164.2.1
  diff -u -r1.164 -r1.164.2.1
  --- proxy_http.c	8 Nov 2002 09:24:00 -0000	1.164
  +++ proxy_http.c	21 Jan 2003 15:46:44 -0000	1.164.2.1
  @@ -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");