Welcome! Log In Create A New Profile

Advanced

Reorder output chain when subrequests are used

Marat Dakota
May 03, 2013 05:54PM
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
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Reorder output chain when subrequests are used

Marat Dakota 825 May 03, 2013 05:54PM

Re: Reorder output chain when subrequests are used

Maxim Dounin 494 May 03, 2013 06:04PM

Re: Reorder output chain when subrequests are used

Marat Dakota 479 May 03, 2013 06:30PM

Re: Reorder output chain when subrequests are used

agentzh 472 May 04, 2013 02:44PM

Re: Reorder output chain when subrequests are used

Marat Dakota 487 May 05, 2013 05:10PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 217
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready