[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-508) &balancer->name[11], becasue of default: balancer://mycluster: Change magic number 11 to something meaningful

Michal Karm Babacek (JIRA) issues at jboss.org
Wed Jun 1 13:19:00 EDT 2016


Michal Karm Babacek created MODCLUSTER-508:
----------------------------------------------

             Summary: &balancer->name[11], becasue 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: Bug
          Components: Native (httpd modules)
    Affects Versions: 1.3.2.Final, 1.2.13.Final
            Reporter: Michal Karm Babacek
            Assignee: Michal Karm Babacek
            Priority: Minor
             Fix For: 1.3.3.Final


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 :)




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the mod_cluster-issues mailing list