mirror of
https://github.com/apache/httpd.git
synced 2025-08-03 16:33:59 +00:00
Only show if hcheck module is loaded
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -1600,14 +1600,18 @@ static int balancer_handler(request_rec *r)
|
||||
"<th>Ignore Errors</th>"
|
||||
"<th>Draining Mode</th>"
|
||||
"<th>Disabled</th>"
|
||||
"<th>Hot Standby</th>"
|
||||
"<th>HC Fail</th>"
|
||||
"<th>Stopped</th></tr>\n<tr>", r);
|
||||
"<th>Hot Standby</th>", r);
|
||||
if (set_worker_hc_param_f) {
|
||||
ap_rputs("<th>HC Fail</th>", r);
|
||||
}
|
||||
ap_rputs("<th>Stopped</th></tr>\n<tr>", r);
|
||||
create_radio("w_status_I", (PROXY_WORKER_IS(wsel, PROXY_WORKER_IGNORE_ERRORS)), r);
|
||||
create_radio("w_status_N", (PROXY_WORKER_IS(wsel, PROXY_WORKER_DRAIN)), r);
|
||||
create_radio("w_status_D", (PROXY_WORKER_IS(wsel, PROXY_WORKER_DISABLED)), r);
|
||||
create_radio("w_status_H", (PROXY_WORKER_IS(wsel, PROXY_WORKER_HOT_STANDBY)), r);
|
||||
create_radio("w_status_C", (PROXY_WORKER_IS(wsel, PROXY_WORKER_HC_FAIL)), r);
|
||||
if (set_worker_hc_param_f) {
|
||||
create_radio("w_status_C", (PROXY_WORKER_IS(wsel, PROXY_WORKER_HC_FAIL)), r);
|
||||
}
|
||||
create_radio("w_status_S", (PROXY_WORKER_IS(wsel, PROXY_WORKER_STOPPED)), r);
|
||||
ap_rputs("</tr></table>\n", r);
|
||||
ap_rputs("<tr><td colspan=2><input type=submit value='Submit'></td></tr>\n", r);
|
||||
|
Reference in New Issue
Block a user