ngx_chain_get_free_buf crashes with free=0 after return next_body_filter

Maxim Dounin mdounin at mdounin.ru
Tue Dec 4 10:17:41 UTC 2012


Hello!

On Tue, Dec 04, 2012 at 01:18:24PM +0400, Ruslan Khusnullin wrote:

> Thanks, Maxim.
> 
> One more question: is there a way to install body/header filter only
> for locations with directive instead of installing them for all
> locations?

No.  Filter chains are global, and you have to install filters into 
them always (and check if you want to run your filter or not during 
particular call of the filter).

-- 
Maxim Dounin
http://nginx.com/support.html



More information about the nginx-devel mailing list