mirror of
https://github.com/apache/httpd.git
synced 2025-11-08 04:22:21 +03:00
The real slim shady finally stood up. This patch segregates the fast
internal redirect logic back into http_request, the next patch will actually fix it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89946 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -199,6 +199,16 @@ AP_DECLARE(void) ap_internal_redirect(const char *new_uri, request_rec *r);
|
||||
*/
|
||||
AP_DECLARE(void) ap_internal_redirect_handler(const char *new_uri, request_rec *r);
|
||||
|
||||
/**
|
||||
* Redirect the current request to a sub_req, merging the pools
|
||||
* @param sub_req A subrequest created from this request
|
||||
* @param r The current request
|
||||
* @deffunc void ap_internal_fast_redirect(request_rec *sub_req, request_rec *r)
|
||||
* @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))
|
||||
|
||||
/**
|
||||
* Can be used within any handler to determine if any authentication
|
||||
* is required for the current request
|
||||
|
||||
Reference in New Issue
Block a user