Hello!

On Sun, Mar 24, 2013 at 09:12:53PM +0400, Marat Dakota wrote:

[...]

>     // We just put "bbb" to main response for each call of this body filter.
>     return ngx_http_output_filter(r->main, out);
> }

It is very wrong to call ngx_http_output_filter() of a main 
request from you body filter.  Result is undefined.  Instead, you 
should call next body filter with a modified chain.

-- 
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to