Lines 1015-1020
static int balancer_handler(request_rec *r)
Link Here
|
1015 |
if ((val = apr_table_get(params, "w_status_H"))) { |
1015 |
if ((val = apr_table_get(params, "w_status_H"))) { |
1016 |
ap_proxy_set_wstatus('H', atoi(val), wsel); |
1016 |
ap_proxy_set_wstatus('H', atoi(val), wsel); |
1017 |
} |
1017 |
} |
|
|
1018 |
if ((val = apr_table_get(params, "w_status_R"))) { |
1019 |
ap_proxy_set_wstatus('R', atoi(val), wsel); |
1020 |
} |
1018 |
if ((val = apr_table_get(params, "w_ls"))) { |
1021 |
if ((val = apr_table_get(params, "w_ls"))) { |
1019 |
int ival = atoi(val); |
1022 |
int ival = atoi(val); |
1020 |
if (ival >= 0 && ival <= 99) { |
1023 |
if (ival >= 0 && ival <= 99) { |
Lines 1287-1292
static int balancer_handler(request_rec *r)
Link Here
|
1287 |
create_radio("w_status_N", (PROXY_WORKER_DRAIN & wsel->s->status), r); |
1290 |
create_radio("w_status_N", (PROXY_WORKER_DRAIN & wsel->s->status), r); |
1288 |
create_radio("w_status_D", (PROXY_WORKER_DISABLED & wsel->s->status), r); |
1291 |
create_radio("w_status_D", (PROXY_WORKER_DISABLED & wsel->s->status), r); |
1289 |
create_radio("w_status_H", (PROXY_WORKER_HOT_STANDBY & wsel->s->status), r); |
1292 |
create_radio("w_status_H", (PROXY_WORKER_HOT_STANDBY & wsel->s->status), r); |
|
|
1293 |
create_radio("w_status_R", (PROXY_WORKER_ROUTE_ONLY & wsel->s->status), r); |
1290 |
ap_rputs("</tr></table>\n", r); |
1294 |
ap_rputs("</tr></table>\n", r); |
1291 |
ap_rputs("<tr><td colspan=2><input type=submit value='Submit'></td></tr>\n", r); |
1295 |
ap_rputs("<tr><td colspan=2><input type=submit value='Submit'></td></tr>\n", r); |
1292 |
ap_rvputs(r, "</table>\n<input type=hidden name='w' id='w' ", NULL); |
1296 |
ap_rvputs(r, "</table>\n<input type=hidden name='w' id='w' ", NULL); |