fix request counter handling for try_files, introduced in r3050
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index e8484ee..8d83c44 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1215,6 +1215,7 @@
                 (void) ngx_http_internal_redirect(r, &path, &args);
             }
 
+            ngx_http_finalize_request(r, NGX_DONE);
             return NGX_OK;
         }