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

mod_proxy: follow up to r1918626: Simplify ap_proxy_fixup_uds_filename() and callers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918647 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2024-06-26 09:19:16 +00:00
parent 7672c68e4a
commit ad3f022fa1
3 changed files with 21 additions and 20 deletions

View File

@@ -1030,14 +1030,12 @@ PROXY_DECLARE(proxy_balancer_shared *) ap_proxy_find_balancershm(ap_slotmem_prov
unsigned int *index);
/*
* In the case of the reverse proxy, we need to see if we
* were passed a UDS url (eg: from mod_proxy) and adjust uds_path
* as required.
* Strip the UDS part of r->filename if any, and put the UDS path in
* r->notes ("uds_path")
* @param r current request
* @param url request url to be fixed
* @return OK if fixed up, DECLINED if not UDS, or an HTTP_XXX error
*/
PROXY_DECLARE(int) ap_proxy_fixup_uds_filename(request_rec *r, char **url);
PROXY_DECLARE(int) ap_proxy_fixup_uds_filename(request_rec *r);
/**
* Get the most suitable worker and/or balancer for the request