>> But is it ok to call next body filter in subrequest's body filter to
>> produce output to main request?
>> I mean ngx_http_next_body_filter(r->main, out).
>
> No. You should call next body filter of the request you are
> working with. It's postpone filter responsibility to manage
> subrequests output, and if you try to do this yourself instead -
> result will be undefined.
It seems to work as expected for me. How can I cause problems with this?
--
Marat
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
>> produce output to main request?
>> I mean ngx_http_next_body_filter(r->main, out).
>
> No. You should call next body filter of the request you are
> working with. It's postpone filter responsibility to manage
> subrequests output, and if you try to do this yourself instead -
> result will be undefined.
It seems to work as expected for me. How can I cause problems with this?
--
Marat
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel