Reorder output chain when subrequests are used
Marat Dakota
dakota at brokenpipe.ru
Fri May 3 21:52:12 UTC 2013
Hi.
Let's suppose we've called ngx_http_output_filter(r, "aaa") for the main
request, then we've called ngx_http_subrequest() and then
ngx_http_output_filter(r, "bbb") for the main request.
Let's suppose the subrequest's handler has called
ngx_http_output_filter(sr, "ccc").
So, the result will be "aaacccbbb".
What is the proper way to reorder main request's output chain to get
"aaabbbccc" (i.e. how to move subrequest's output chain to the end of the
main output chain)?
--
Marat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130504/a7dcc01d/attachment.html>
More information about the nginx-devel
mailing list