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:
chaizhenhua 2013-04-11 16:02:06 +08:00
parent 74278a8e9e
commit fdf0ba540f

View File

@ -1140,6 +1140,7 @@ ngx_http_modsecurity_header_filter(ngx_http_request_t *r) {
}
/* SecResponseBodyAccess on, process rules in body filter */
r->filter_need_in_memory = 1;
return NGX_OK;
}