mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-17 06:36:13 +03:00
Nginx Improved: set filter_need_in_memory flag so that nginx transfer response in memory, we do not need read from file buffer.
This commit is contained in:
parent
74278a8e9e
commit
fdf0ba540f
@ -1140,6 +1140,7 @@ ngx_http_modsecurity_header_filter(ngx_http_request_t *r) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* SecResponseBodyAccess on, process rules in body filter */
|
/* SecResponseBodyAccess on, process rules in body filter */
|
||||||
|
r->filter_need_in_memory = 1;
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user