Bug 61610 - Config test fails if loadfactor > 1 in version 2.4.28
Summary: Config test fails if loadfactor > 1 in version 2.4.28
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.4-HEAD
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-12 13:29 UTC by tkjoeglu
Modified: 2017-10-13 07:34 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tkjoeglu 2017-10-12 13:29:44 UTC
When running config test; apachectl -t we get an error if the loadfactor is larger than 1.

Our configuration works fine in 2.4.27, but fails in 2.4.28. 

Error received:
> apache2 - AH00526: Syntax error on line 8 of config/workers.conf: BalancerMember LoadFactor must be a number between 1..100

Line 8 of config file in question:
> BalancerMember URL:12000 route=admin loadfactor=100 status=-N

If we change the loadcator to be between 0.0 and 1.0 it works in 2.4.28.

We have found another reference to the same problem:
https://translate.google.com/translate?sl=auto&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fd.hatena.ne.jp%2Frougeref%2F&edit-text=&act=url

Here's the merge with the change:
https://github.com/apache/httpd/commit/52ae772654a0ab213bedad2e1bd38bebb80b245c
Comment 1 Yann Ylavic 2017-10-12 20:09:25 UTC
Commit r1805195 was missing in backport for 2.4.28 (r1808855).
Now proposed for backport to 2.4.29.
Comment 2 Yann Ylavic 2017-10-13 07:34:27 UTC
Backported to upcoming 2.4.29 (r1812074).