From: Jean-Frederic Clere Date: Mon, 20 Oct 2008 15:11:05 +0000 (+0000) Subject: ap_proxy_determine_connection modifies the url if we are retrying the result we shoul... X-Git-Tag: 2.3.0~251 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dd3bee230d801f549ce36c23c5b048a4576f153;p=apache ap_proxy_determine_connection modifies the url if we are retrying the result we should retry using the orginal url. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@706318 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_ajp.c b/modules/proxy/mod_proxy_ajp.c index 3bd0dd7529..b9437ed16b 100644 --- a/modules/proxy/mod_proxy_ajp.c +++ b/modules/proxy/mod_proxy_ajp.c @@ -645,9 +645,10 @@ static int proxy_ajp_handler(request_rec *r, proxy_worker *worker, retry = 0; while (retry < 2) { + char *locurl = url; /* Step One: Determine Who To Connect To */ status = ap_proxy_determine_connection(p, r, conf, worker, backend, - uri, &url, proxyname, proxyport, + uri, &locurl, proxyname, proxyport, server_portstr, sizeof(server_portstr)); @@ -685,7 +686,7 @@ static int proxy_ajp_handler(request_rec *r, proxy_worker *worker, } } /* Step Three: Process the Request */ - status = ap_proxy_ajp_request(p, r, backend, origin, dconf, uri, url, + status = ap_proxy_ajp_request(p, r, backend, origin, dconf, uri, locurl, server_portstr); break; }