1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

_THIS_ is why mod_dir wouldn't serve the results of mod_negotiation

with a query string


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89948 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2001-08-06 19:10:12 +00:00
parent 347b03449d
commit 5835764fc8
2 changed files with 6 additions and 3 deletions

View File

@@ -556,7 +556,8 @@ static request_rec *internal_internal_redirect(const char *new_uri,
return new;
}
AP_DECLARE(void) ap_internal_fast_redirect(request_rec *rr, request_rec *r))
/* XXX: Is this function is so bogus and fragile that we deep-6 it? */
AP_DECLARE(void) ap_internal_fast_redirect(request_rec *rr, request_rec *r)
{
/* We need to tell POOL_DEBUG that we're guaranteeing that rr->pool
* will exist as long as r->pool. Otherwise we run into troubles because
@@ -564,7 +565,9 @@ AP_DECLARE(void) ap_internal_fast_redirect(request_rec *rr, request_rec *r))
* rr->pool.
*/
apr_pool_join(r->pool, rr->pool);
r->mtime = 0; /* reset etag info for subrequest */
r->mtime = rr->mtime; /* reset etag info for subrequest */
r->uri = rr->uri;
r->args = rr->args;
r->filename = rr->filename;
r->handler = rr->handler;
r->content_type = rr->content_type;