httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r759389 - /httpd/httpd/trunk/modules/proxy/mod_serf.c
Date Fri, 27 Mar 2009 23:17:06 GMT
Author: pquerna
Date: Fri Mar 27 23:17:06 2009
New Revision: 759389

URL: http://svn.apache.org/viewvc?rev=759389&view=rev
Log:
* modules/proxy/mod_serf.c
    (hb_list_servers): Allows relative paths for the heartbeat file.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_serf.c

Modified: httpd/httpd/trunk/modules/proxy/mod_serf.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_serf.c?rev=759389&r1=759388&r2=759389&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_serf.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_serf.c Fri Mar 27 23:17:06 2009
@@ -776,6 +776,8 @@
 
     apr_pool_create(&tpool, r->pool);
 
+    path = ap_server_root_relative(tpool, path);
+
     tmpservers = apr_array_make(tpool, 32, sizeof(hb_server_t *));
     rv = read_heartbeats(path, tmpservers, tpool);
 



Mime
View raw message