Author: jfrederic.clere(a)jboss.com
Date: 2009-02-10 15:32:49 -0500 (Tue, 10 Feb 2009)
New Revision: 2274
Modified:
trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
Log:
use unparsed_uri instead of uri (parsed one).
Modified: trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
===================================================================
--- trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2009-02-10 15:47:17 UTC
(rev 2273)
+++ trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2009-02-10 20:32:49 UTC
(rev 2274)
@@ -1503,8 +1503,8 @@
const char *balancer;
ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_DEBUG, 0, r->server,
- "proxy_cluster_trans for %d %s %s uri: %s",
- r->proxyreq, r->filename, r->handler, r->uri);
+ "proxy_cluster_trans for %d %s %s uri: %s args: %s unparsed_uri:
%s",
+ r->proxyreq, r->filename, r->handler, r->uri, r->args,
r->unparsed_uri);
balancer = get_route_balancer(r);
if (!balancer) {
@@ -1519,7 +1519,7 @@
balancer = get_context_host_balancer(r);
if (balancer) {
- r->filename = apr_pstrcat(r->pool, "proxy:cluster://", balancer,
r->uri, NULL);
+ r->filename = apr_pstrcat(r->pool, "proxy:cluster://", balancer,
r->unparsed_uri, NULL);
r->handler = "proxy-server";
r->proxyreq = PROXYREQ_REVERSE;
ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_DEBUG, 0, r->server,
Show replies by date