<div dir="ltr">Hi.<div><br></div><div style>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.</div>
<div style><br></div><div style>Let's suppose the subrequest's handler has called ngx_http_output_filter(sr, "ccc").</div><div style><br></div><div style>So, the result will be "aaacccbbb".</div>
<div style><br></div><div style>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)?</div><div style>
<br></div><div style>--</div><div style>Marat</div></div>