# HG changeset patch # User Igor Sysoev # Date 1251717664 0 # Node ID 67dc311964b8c10a909689d5191337dbc04c1033 # Parent 113cd532b3286310aefcf148ceefa19ce322b28e 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 --- 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; }