mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
get correct worker_score in loop
This commit is contained in:
committed by
Felipe Zimmerle
parent
8efece97f7
commit
53edb258bb
@@ -1461,7 +1461,7 @@ static int hook_connection_early(conn_rec *conn)
|
|||||||
for (j = 0; j < thread_limit; ++j) {
|
for (j = 0; j < thread_limit; ++j) {
|
||||||
|
|
||||||
#if AP_SERVER_MAJORVERSION_NUMBER > 1 && AP_SERVER_MINORVERSION_NUMBER > 2
|
#if AP_SERVER_MAJORVERSION_NUMBER > 1 && AP_SERVER_MINORVERSION_NUMBER > 2
|
||||||
ws_record = ap_get_scoreboard_worker(sbh);
|
ws_record = ap_get_scoreboard_worker_from_indexes(i, j);
|
||||||
#else
|
#else
|
||||||
ws_record = ap_get_scoreboard_worker(i, j);
|
ws_record = ap_get_scoreboard_worker(i, j);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user