Obtained from:
Submitted by: Daniel Lopez <daniel@covalent.net>
Reviewed by: dougm, rbb
add optional fixup hook to proxy
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94544
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.36
+ *) add optional fixup hook to proxy [Daniel Lopez <daniel@covalent.net>]
+
*) Remind the admin about the User and Group directives when we are
unable to set permissions on a semaphore. PR 7812 [Jeff Trawick]
APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST(proxy, PROXY, int, canon_handler,
(request_rec *r, char *url),(r,
url),DECLINED)
+APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(proxy, PROXY, int, fixups,
+ (request_rec *r), (r),
+ OK, DECLINED)
char *url))
APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, create_req, (request_rec *r, request_rec *pr))
+APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, fixups, (request_rec *r))
/* proxy_util.c */
}
/* send request headers */
+ proxy_run_fixups(r);
headers_in_array = apr_table_elts(r->headers_in);
headers_in = (const apr_table_entry_t *) headers_in_array->elts;
for (counter = 0; counter < headers_in_array->nelts; counter++) {