diff options
author | Yann Ylavic <ylavic@apache.org> | 2024-08-01 18:09:14 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2024-08-01 18:09:14 +0200 |
commit | ad7218959cc573eac5a8da0897665f2f4b088218 (patch) | |
tree | 01c84e8680b7a77b6c721fc6a04e20b5247e286b /modules/proxy/mod_proxy_fcgi.c | |
parent | Follow up to r1919620: CHANGES entry indent. (diff) | |
download | apache2-ad7218959cc573eac5a8da0897665f2f4b088218.tar.xz apache2-ad7218959cc573eac5a8da0897665f2f4b088218.zip |
Follow up to r1919620: init path after "proxy:" is skipped.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919623 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | modules/proxy/mod_proxy_fcgi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c index 44327c70e3..9f2fbf34e9 100644 --- a/modules/proxy/mod_proxy_fcgi.c +++ b/modules/proxy/mod_proxy_fcgi.c @@ -59,7 +59,7 @@ static int proxy_fcgi_canon(request_rec *r, char *url) { char *host, sport[7]; const char *err; - char *path = url, *pc; + char *path, *pc; apr_port_t port, def_port; fcgi_req_config_t *rconf = NULL; const char *pathinfo_type = NULL; @@ -71,6 +71,7 @@ static int proxy_fcgi_canon(request_rec *r, char *url) return DECLINED; } + path = url; port = def_port = ap_proxy_port_of_scheme("fcgi"); ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r, |