I am trying to understand the use of NGX_HTTP_SUBREQUEST_WAITED in the context of a filter that issues multiple sub-requests. I&#39;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 simultaneously.<br>
<br>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&#39;s unclear that subrequests are being serialized, or that there was any change in behavior.<br>
<br>How can I determine if indeed the connections are being serialized vs. done in parallel?  <br><br>Thanks,<br>Brian Moran<br><br>