diff options
author | Yann Ylavic <ylavic@apache.org> | 2021-09-03 13:36:44 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2021-09-03 13:36:44 +0200 |
commit | f682600d98d1e3d36c99fb4b7c1c5ad2dccc16e1 (patch) | |
tree | 965edb510c05dc9a89d36bad6b227835993f77e0 | |
parent | mod_proxy: Follow up to r1892740. (diff) | |
download | apache2-f682600d98d1e3d36c99fb4b7c1c5ad2dccc16e1.tar.xz apache2-f682600d98d1e3d36c99fb4b7c1c5ad2dccc16e1.zip |
mod_proxy: Follow up to r1892814.
Save some few cycles in ap_proxy_de_socketfy() too.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1892853 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | modules/proxy/mod_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index 9910828f45..1f5a4b6a86 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -2009,7 +2009,7 @@ PROXY_DECLARE(const char *) ap_proxy_de_socketfy(apr_pool_t *p, const char *url) * the UDS path... ignore it */ if (!ap_cstr_casecmpn(url, "unix:", 5) && - ((ptr = ap_strchr_c(url, '|')) != NULL)) { + ((ptr = ap_strchr_c(url + 5, '|')) != NULL)) { /* move past the 'unix:...|' UDS path info */ const char *ret, *c; |