summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2024-08-01 18:09:14 +0200
committerYann Ylavic <ylavic@apache.org>2024-08-01 18:09:14 +0200
commitad7218959cc573eac5a8da0897665f2f4b088218 (patch)
tree01c84e8680b7a77b6c721fc6a04e20b5247e286b /modules
parentFollow up to r1919620: CHANGES entry indent. (diff)
downloadapache2-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 'modules')
-rw-r--r--modules/proxy/mod_proxy_fcgi.c3
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,