httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rüdiger Plüm <ruediger.pl...@vodafone.com>
Subject Fwd: svn commit: r1387110 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_proxy.xml include/ap_mmn.h modules/proxy/mod_proxy.c modules/proxy/mod_proxy.h modules/proxy/mod_proxy_balancer.c modules/proxy/proxy_util.c
Date Tue, 18 Sep 2012 16:26:43 GMT


-------- Original Message --------
Subject: 	svn commit: r1387110 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_proxy.xml
include/ap_mmn.h
modules/proxy/mod_proxy.c modules/proxy/mod_proxy.h modules/proxy/mod_proxy_balancer.c modules/proxy/proxy_util.c
Date: 	Tue, 18 Sep 2012 12:15:51 GMT
From: 	jim@apache.org



Author: jim
Date: Tue Sep 18 12:15:50 2012
New Revision: 1387110

URL: http://svn.apache.org/viewvc?rev=1387110&view=rev
Log:
Persist local balancer-manager changes across restart/graceful.

Modified:
      httpd/httpd/trunk/CHANGES
      httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml
      httpd/httpd/trunk/include/ap_mmn.h
      httpd/httpd/trunk/modules/proxy/mod_proxy.c
      httpd/httpd/trunk/modules/proxy/mod_proxy.h
      httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
      httpd/httpd/trunk/modules/proxy/proxy_util.c


Modified: httpd/httpd/trunk/modules/proxy/mod_proxy.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy.c?rev=1387110&r1=1387109&r2=1387110&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy.c Tue Sep 18 12:15:50 2012
@@ -1145,13 +1145,14 @@ static void * create_proxy_config(apr_po
   #if 0
       id = ap_proxy_hashfunc(apr_psprintf(p, "%pp-%" APR_TIME_T_FMT, ps, apr_time_now()),
PROXY_HASHFUNC_DEFAULT);
   #else
-    id = ap_proxy_hashfunc(apr_psprintf(p, "%pp", ps), PROXY_HASHFUNC_DEFAULT);
+    id = ap_proxy_hashfunc(apr_psprintf(p, "%pp", s), PROXY_HASHFUNC_DEFAULT);

Wouldn't multiple balancers within the same virtual server end up wit the same id now?

Regards

Rüdiger


Mime
View raw message