mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Added missing functions to make non-Apache versions compile with Apache 2.4.
This commit is contained in:
@@ -146,9 +146,13 @@ server_rec *modsecInit() {
|
||||
|
||||
ap_server_config_defines = apr_array_make(pool, 1, sizeof(char *));
|
||||
|
||||
// here we should add scoreboard handling for multiple processes and threads
|
||||
//
|
||||
ap_scoreboard_image = (scoreboard *)apr_palloc(pool, sizeof(scoreboard));
|
||||
|
||||
// here we should probably fill scoreboard and later keep it updated somewhere
|
||||
memset(ap_scoreboard_image, 0, sizeof(scoreboard));
|
||||
|
||||
// ----------
|
||||
|
||||
security2_module.module_index = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user