git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587771
13f79535-47bb-0310-9956-
ffa450edef68
*) core; scoreboard: ap_get_scoreboard_worker(sbh) now takes the sbh member
from the connection rec, ap_get_scoreboard_worker(proc, thread) will now
- provide the unusual legacy lookup. Also cleans up PR 31127 range checks.
- [William Rowe, Christian von Roques <roques mti.ag>]
+ provide the unusual legacy lookup. [William Rowe]
*) mod_proxy_http: Check but don't escape/unescape forward-proxied URLs
PR 42592 [Nick Kew]
AP_DECLARE(worker_score *) ap_get_scoreboard_worker_from_indexes(int x, int y)
{
- if (((x < 0) || (x > server_limit)) ||
- ((y < 0) || (y > thread_limit))) {
+ if (((x < 0) || (x >= server_limit)) ||
+ ((y < 0) || (y >= thread_limit))) {
return(NULL); /* Out of range */
}
return &ap_scoreboard_image->servers[x][y];