]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backport.
authorSander Striker <striker@apache.org>
Fri, 8 Apr 2005 22:10:13 +0000 (22:10 +0000)
committerSander Striker <striker@apache.org>
Fri, 8 Apr 2005 22:10:13 +0000 (22:10 +0000)
* 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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@160627 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index f17efb82de0ce4c6fad67f4671e7a8386b2518f4..d915b31cc000a0249b5a7f173f07e8a7d2da68eb 100644 (file)
@@ -404,6 +404,9 @@ AP_DECLARE(void) ap_internal_fast_redirect(request_rec *rr, request_rec *r)
      * 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;