mirror of
https://github.com/apache/httpd.git
synced 2025-08-15 23:27:39 +00:00
Fix PR54848 in a 2.4.x backportable format. Ideally deprecating the use
of ->client in whatever version of 2.4 this is added into would be more logical. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1837225 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -122,13 +122,13 @@ static int noloris_monitor(apr_pool_t *pool, server_rec *s)
|
||||
for (j = 0; j < thread_limit; ++j) {
|
||||
ws = ap_get_scoreboard_worker_from_indexes(i, j);
|
||||
if (ws->status == SERVER_BUSY_READ) {
|
||||
n = apr_hash_get(connections, ws->client, APR_HASH_KEY_STRING);
|
||||
n = apr_hash_get(connections, ws->client64, APR_HASH_KEY_STRING);
|
||||
if (n == NULL) {
|
||||
n = totals + index++;
|
||||
*n = 0;
|
||||
}
|
||||
++*n;
|
||||
apr_hash_set(connections, ws->client, APR_HASH_KEY_STRING, n);
|
||||
apr_hash_set(connections, ws->client64, APR_HASH_KEY_STRING, n);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user