Brian Moran bmoran at onehub.com
Fri Dec 11 01:36:48 MSK 2009

I am trying to understand the use of NGX_HTTP_SUBREQUEST_WAITED in the
context of a filter that issues multiple sub-requests. I'm starting with the
ngx_zip_module by Evan Miller; if I construct a recipe for an archive that
has 100 files in it (each file is on an upstream server), I see that a large
number (approaching 100 :-) ) of connections are opened to the upstreams

Changing the call to ngx_http_subrequest to use NGX_HTTP_SUBREQUEST_WAITED
as the args parameter, recompiling, and restarting,  I still see a large
number of open connections simultaneously to the backends -- it's unclear
that subrequests are being serialized, or that there was any change in

How can I determine if indeed the connections are being serialized vs. done
in parallel?

Brian Moran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-devel/attachments/20091210/bcadd302/attachment.html>

More information about the nginx-devel mailing list