httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stri...@apache.org
Subject svn commit: r160627 - httpd/httpd/branches/2.0.x/modules/http/http_request.c
Date Fri, 08 Apr 2005 22:10:13 GMT
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;



Mime
View raw message