mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds modsecStatusEngineCall to standalone API
In ModSecurityIIS the configuration is loaded upon the first request is received. In other words, SecStatusEngine value can be only loaded once the first request hit the server, and so, the status function was moved to proceed just after the configuration got loaded. This update is IIS only.
This commit is contained in:
committed by
Felipe Zimmerle
parent
d75e443b9b
commit
20014c808c
@@ -356,8 +356,8 @@ int msc_status_engine_call (void) {
|
||||
}
|
||||
|
||||
apr_snprintf(beacon_string, beacon_string_len+1+10+4,
|
||||
"%s,%s/IIS,%s/%s,%s/%s,%s/%s,%s/%s,%s",
|
||||
modsec, apache, apr, apr_loaded, pcre, pcre_loaded, lua, lua_loaded,
|
||||
"%s,IIS,%s/%s,%s/%s,%s/%s,%s/%s,%s",
|
||||
modsec, apr, apr_loaded, pcre, pcre_loaded, lua, lua_loaded,
|
||||
libxml, libxml_loaded, id);
|
||||
#else
|
||||
beacon_string = malloc(sizeof(char)*(beacon_string_len+1+10));
|
||||
|
Reference in New Issue
Block a user