mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 14:40:20 +00:00
Normalize all paths to run the same, common code for pre-request setup
from the primary request, redirects and sub-requests. This will significantly reduce opporunities for inconsistancy (such as Ian observed, and as I repaired only a month ago.) This promotes process_request_internal to an ap_ namespace protected entity in server/request.c (from it's old home in http/http_request.c) since this fn has no http specifics. Reviewed (in concept): Cliff Woolley, Ian Holsman git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90832 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -91,6 +91,14 @@ extern "C" {
|
||||
* about which was allocated in its apr_pool_t elsewhere before doing this.
|
||||
*/
|
||||
|
||||
/**
|
||||
* An internal handler used by the ap_process_request, all sub request mechanisms
|
||||
* and the redirect mechanism.
|
||||
* @param r The request, subrequest or internal redirect to pre-process
|
||||
* @return The return code for the request
|
||||
*/
|
||||
AP_DECLARE(int) ap_process_request_internal(request_rec *r);
|
||||
|
||||
/**
|
||||
* Create a sub request from the given URI. This sub request can be
|
||||
* inspected to find information about the requested URI
|
||||
|
Reference in New Issue
Block a user