Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 69061 invoked from network); 20 Oct 2008 15:11:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Oct 2008 15:11:27 -0000 Received: (qmail 32610 invoked by uid 500); 20 Oct 2008 15:11:29 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 32559 invoked by uid 500); 20 Oct 2008 15:11:28 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 32550 invoked by uid 99); 20 Oct 2008 15:11:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2008 08:11:28 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2008 15:10:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 14F2923888A3; Mon, 20 Oct 2008 08:11:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r706318 - /httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c Date: Mon, 20 Oct 2008 15:11:05 -0000 To: cvs@httpd.apache.org From: jfclere@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081020151106.14F2923888A3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jfclere Date: Mon Oct 20 08:11:05 2008 New Revision: 706318 URL: http://svn.apache.org/viewvc?rev=706318&view=rev Log: ap_proxy_determine_connection modifies the url if we are retrying the result we should retry using the orginal url. Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c?rev=706318&r1=706317&r2=706318&view=diff ============================================================================== --- httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c (original) +++ httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c Mon Oct 20 08:11:05 2008 @@ -645,9 +645,10 @@ 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 @@ } } /* 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; }