NGX_HTTP_SUBREQUEST_WAITED argument to ngx_http_subrequest?

Igor Sysoev igor at sysoev.ru
Thu Dec 10 23:29:46 MSK 2009


On Thu, Dec 10, 2009 at 11:02:29AM -0800, Brian Moran wrote:

> What does the NGX_HTTP_SUBREQUEST_WAITED argument indicate to 
> ngx_http_subrequest?
> 
> I am using the ngx_zip_module, and experimenting with generating a file 
> that is composed of hundreds of sub-requests.
> 
> I *think* that many of the subrequests are being executed (or at least 
> started) in parallel; I'd like to be able to limit or serialize the 
> subrequests, and ran across this flag....

Yes, the subrequests are started in parallel. This flag serializes them.


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list