]> granicus.if.org Git - apache/commitdiff
Oops - the proxy host and port were left off when the proxy tries to
authorGraham Leggett <minfrin@apache.org>
Sun, 15 Apr 2001 18:16:22 +0000 (18:16 +0000)
committerGraham Leggett <minfrin@apache.org>
Sun, 15 Apr 2001 18:16:22 +0000 (18:16 +0000)
run the handler to connect to a proxy server.
PR:
Obtained from:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88867 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c

index 899abc4e361ea14f30c9207d2528775ed67c0e43..0d6b28977f524ca8955e14f7af1b38a6db6db25a 100644 (file)
@@ -366,7 +366,7 @@ static int proxy_handler(request_rec *r)
                /* 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) {