You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/11/09 04:23:01 UTC
[Bug 64890] New: The default value of directive
"HeartbeatMaxServers" in code is mismatch with the doc
https://bz.apache.org/bugzilla/show_bug.cgi?id=64890
Bug ID: 64890
Summary: The default value of directive "HeartbeatMaxServers"
in code is mismatch with the doc
Product: Apache httpd-2
Version: 2.4.43
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: mod_heartbeat
Assignee: bugs@httpd.apache.org
Reporter: zhoushulin1992@gmail.com
Target Milestone: ---
In the source code of mod_heartmonitor.c, the branch condition of
cmd_hm_maxworkers() says that "HeartbeatMaxServers" should be bigger than 10.
But in the document of
"HeartbeatMaxServers"(http://httpd.apache.org/docs/2.4/mod/mod_heartmonitor.html#heartbeatmaxservers),
there is no statement that indicate this value range. Also, the default value
of "HeartbeatMaxServers" is 10, which is not match with the logic in the code.
So, could we consider adding the value range in the document? As for the
default value, is it a wrong default value or a wrong handling logic in
mod_heartmonitor.c?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64890] The default value of directive "HeartbeatMaxServers" in code is mismatch with the doc
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64890
Rich Bowen <rb...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
--- Comment #1 from Rich Bowen <rb...@apache.org> ---
Fixed in r1933541 (2.4.x). The HeartbeatMaxServers documentation now correctly
shows the default value of 10, the valid range (0 for flat-file storage, >= 10
for slotmem), and includes a compatibility note for the 0-value support added
in 2.4.55. Resolving as FIXED. This was fixed as part of bz64889
*** This bug has been marked as a duplicate of bug 64889 ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org