httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_http.c
Date Mon, 15 Dec 2003 23:04:41 GMT
ianh        2003/12/15 15:04:41

  Modified:    .        CHANGES
               modules/proxy proxy_http.c
  Log:
  mod_proxy with ProxyErrorOverride On in a reverse-proxy configuration attaches
  a body to the 302 response and a wrong Content-Length header.
  
  PR: 22951
  Submitted by:	Ermanno Scaglione <scaglione ..at.. starnetone.de>
  Reviewed by:	Blaise Tarr <blaise.tarr .. at .. cnet.com>
  
  Revision  Changes    Path
  1.1346    +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1345
  retrieving revision 1.1346
  diff -u -r1.1345 -r1.1346
  --- CHANGES	15 Dec 2003 19:59:23 -0000	1.1345
  +++ CHANGES	15 Dec 2003 23:04:40 -0000	1.1346
  @@ -2,6 +2,10 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) mod_proxy with ProxyErrorOverride On in a reverse-proxy configuration attaches
  +     a body to the 302 response and a wrong Content-Length header. 
  +     PR: 22951 [Ermanno Scaglione scaglione ..at.. starnetone.de]
  +
     *) Bring ErrorHeader concept forward from 1.3, so that response
        header fields can be set for return even on errors or external
        redirects.  [Ken Coar]
  
  
  
  1.175     +1 -1      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.174
  retrieving revision 1.175
  diff -u -r1.174 -r1.175
  --- proxy_http.c	12 Dec 2003 12:36:50 -0000	1.174
  +++ proxy_http.c	15 Dec 2003 23:04:40 -0000	1.175
  @@ -1020,7 +1020,7 @@
                * if we are overriding the errors, we can't put the content
                * of the page into the brigade
                */
  -            if ( (conf->error_override ==0) || r->status < 400 ) {
  +            if ( (conf->error_override ==0) || r->status < 300 ) {
   
                   /* read the body, pass it to the output filters */
                   int finish = FALSE;
  
  
  

Mime
View raw message