Skip to content

Commit 5fc81c5

Browse files
committed
Log when STATUS load parameter is out of range
1 parent 59aaa71 commit 5fc81c5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

native/mod_manager/mod_manager.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,10 @@ static char *process_status(request_rec *r, const char *const *ptr, int *errtype
24242424
i++;
24252425
}
24262426

2427+
if (Load < -1 || Load > 100) {
2428+
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, "Load value %d is outside the supported range", Load);
2429+
}
2430+
24272431
/* Read the node */
24282432
loc_lock_nodes();
24292433
node = read_node(nodestatsmem, &nodeinfo);

0 commit comments

Comments
 (0)