fix subrequest limit
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index adc751e..2b4f56f 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1417,6 +1417,8 @@
         ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
                        "http subrequest done \"%V?%V\"", uri, &sr->args);
 
+        r->main->subrequests++;
+
         *psr = sr;
 
         if (sr->fast_subrequest) {