mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Standalone: added Include command
IIS: added locking, response processing check, fixed file chunk reading bugs
This commit is contained in:
@@ -422,6 +422,16 @@ int modsecProcessRequest(request_rec *r) {
|
||||
return status;
|
||||
}
|
||||
|
||||
int modsecIsResponseBodyAccessEnabled(request_rec *r)
|
||||
{
|
||||
modsec_rec *msr = retrieve_msr(r);
|
||||
|
||||
if(msr == NULL || msr->txcfg == NULL)
|
||||
return 0;
|
||||
|
||||
return msr->txcfg->resbody_access;
|
||||
}
|
||||
|
||||
int modsecProcessResponse(request_rec *r) {
|
||||
int status = DECLINED;
|
||||
|
||||
|
Reference in New Issue
Block a user