diff src/http/ngx_http_core_module.c @ 3066:67dc311964b8

fix request counter handling for try_files, introduced in r3050
author Igor Sysoev <igor@sysoev.ru>
date Mon, 31 Aug 2009 11:21:04 +0000
parents 113cd532b328
children 680cab09818d
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1215,6 +1215,7 @@ ngx_http_core_try_files_phase(ngx_http_r
                 (void) ngx_http_internal_redirect(r, &path, &args);
             }
 
+            ngx_http_finalize_request(r, NGX_DONE);
             return NGX_OK;
         }