]
Jean-Frederic Clere reassigned MODCLUSTER-508:
----------------------------------------------
Assignee: Jean-Frederic Clere (was: Michal Karm)
&balancer->name[11], because of default: balancer://mycluster:
Change magic number 11 to something meaningful
-------------------------------------------------------------------------------------------------------------
Key: MODCLUSTER-508
URL:
https://issues.jboss.org/browse/MODCLUSTER-508
Project: mod_cluster
Issue Type: Enhancement
Components: Native (httpd modules)
Affects Versions: 1.3.2.Final, 1.2.13.Final
Reporter: Michal Karm
Assignee: Jean-Frederic Clere
Priority: Trivial
Fix For: 2.0.0.Alpha2
While we compare balancers URL char by char, we start at index 11, because
the default beginning: {{balancer://}} is always there. It would be nice to change 11 to
a named constant so as it is clear why it's 11 without debugger :)