Loading include/http_request.h +1 −1 Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ AP_DECLARE(void) ap_internal_redirect_handler(const char *new_uri, request_rec * * @tip the sub_req's pool will be merged into r's pool, be very careful * not to destroy this subrequest, it will be destroyed with the main request! */ AP_DECLARE(void) ap_internal_fast_redirect(request_rec *sub_req, request_rec *r)) AP_DECLARE(void) ap_internal_fast_redirect(request_rec *sub_req, request_rec *r); /** * Can be used within any handler to determine if any authentication Loading modules/http/http_request.c +5 −2 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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; Loading Loading
include/http_request.h +1 −1 Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ AP_DECLARE(void) ap_internal_redirect_handler(const char *new_uri, request_rec * * @tip the sub_req's pool will be merged into r's pool, be very careful * not to destroy this subrequest, it will be destroyed with the main request! */ AP_DECLARE(void) ap_internal_fast_redirect(request_rec *sub_req, request_rec *r)) AP_DECLARE(void) ap_internal_fast_redirect(request_rec *sub_req, request_rec *r); /** * Can be used within any handler to determine if any authentication Loading
modules/http/http_request.c +5 −2 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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; Loading