You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@apache.org on 2005/04/09 00:10:13 UTC

svn commit: r160627 - httpd/httpd/branches/2.0.x/modules/http/http_request.c

Author: striker
Date: Fri Apr  8 15:10:13 2005
New Revision: 160627

URL: http://svn.apache.org/viewcvs?view=rev&rev=160627
Log:
Backport.

* STATUS

  Remove vote.

* modules/http/http_request.c
  
  (ap_internal_fast_redirect): Take over important members of the subrequest. 
   Especially the proxyreq copying is interesting for proxying DirectoryIndex'd
   resources:
     http://svn.apache.org/viewcvs.cgi?rev=102330&view=rev
     +1: nd, jerenkrantz, pquerna, striker

Modified:
    httpd/httpd/branches/2.0.x/modules/http/http_request.c

Modified: httpd/httpd/branches/2.0.x/modules/http/http_request.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/modules/http/http_request.c?view=diff&r1=160626&r2=160627
==============================================================================
--- httpd/httpd/branches/2.0.x/modules/http/http_request.c (original)
+++ httpd/httpd/branches/2.0.x/modules/http/http_request.c Fri Apr  8 15:10:13 2005
@@ -404,6 +404,9 @@
      * rr->pool.
      */
     apr_pool_join(r->pool, rr->pool);
+    r->proxyreq = rr->proxyreq;
+    r->no_cache = (r->no_cache && rr->no_cache);
+    r->no_local_copy = (r->no_local_copy && rr->no_local_copy);
     r->mtime = rr->mtime;
     r->uri = rr->uri;
     r->filename = rr->filename;