]> git.kaiwu.me - nginx.git/commitdiff
fix request counter handling for try_files, introduced in r3050
authorIgor Sysoev <igor@sysoev.ru>
Mon, 31 Aug 2009 11:21:04 +0000 (11:21 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 31 Aug 2009 11:21:04 +0000 (11:21 +0000)
src/http/ngx_http_core_module.c

index e8484ee45b9c1b60f1daaf20e66ef6fccec70428..8d83c440ea6de6cde8199ceac9e2f853497d702a 100644 (file)
@@ -1215,6 +1215,7 @@ ngx_http_core_try_files_phase(ngx_http_request_t *r,
                 (void) ngx_http_internal_redirect(r, &path, &args);
             }
 
+            ngx_http_finalize_request(r, NGX_DONE);
             return NGX_OK;
         }