What is needed is a setup for the finder function
introduced, but never implemented.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@233468
13f79535-47bb-0310-9956-
ffa450edef68
if (PROXY_THREAD_LOCK(balancer) != APR_SUCCESS)
return NULL;
+ if (!(*balancer->lbmethod->finder)) {
+ /* XXX: UGLY HACK!!!
+ * Where is the finder function setup?
+ */
+ balancer->lbmethod->finder = find_best_byrequests;
+ }
+
candidate = (*balancer->lbmethod->finder)(balancer, r);
/*