]> granicus.if.org Git - apache/commitdiff
internal_fast_redirect: take over important request_rec members
authorAndré Malo <nd@apache.org>
Tue, 13 Jan 2004 23:59:57 +0000 (23:59 +0000)
committerAndré Malo <nd@apache.org>
Tue, 13 Jan 2004 23:59:57 +0000 (23:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102330 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 034dbc380d9577579be9115eec6c362b86174c3f..b30e3be83db3da1b968ef982b2aef617b9c64f79 100644 (file)
@@ -442,6 +442,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;