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