You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2001/04/15 20:16:22 UTC
cvs commit: httpd-proxy/module-2.0 mod_proxy.c
minfrin 01/04/15 11:16:22
Modified: module-2.0 mod_proxy.c
Log:
Oops - the proxy host and port were left off when the proxy tries to
run the handler to connect to a proxy server.
Revision Changes Path
1.44 +1 -1 httpd-proxy/module-2.0/mod_proxy.c
Index: mod_proxy.c
===================================================================
RCS file: /home/cvs/httpd-proxy/module-2.0/mod_proxy.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- mod_proxy.c 2001/04/15 17:15:29 1.43
+++ mod_proxy.c 2001/04/15 18:16:22 1.44
@@ -366,7 +366,7 @@
/* handle the scheme */
ap_log_error(APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, 0, r->server,
"Trying to run scheme_handler against proxy");
- access_status = proxy_run_scheme_handler(r, conf, url, NULL, 0);
+ access_status = proxy_run_scheme_handler(r, conf, url, ents[i].hostname, ents[i].port);
/* an error or success */
if (access_status != DECLINED && access_status != HTTP_BAD_GATEWAY) {