summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-08-31 11:21:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-08-31 11:21:04 +0000
commitfb30a1804539b7b6fa2cf91a07f37b065ef95d1a (patch)
treeececf5828aa415e3d41b8754e5361d7c8a09fd83
parentbfff03406d869119eb0cec68f028e8ab6fd6caa5 (diff)
downloadnginx-fb30a1804539b7b6fa2cf91a07f37b065ef95d1a.tar.gz
nginx-fb30a1804539b7b6fa2cf91a07f37b065ef95d1a.tar.bz2
fix request counter handling for try_files, introduced in r3050
-rw-r--r--src/http/ngx_http_core_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index e8484ee45..8d83c440e 100644
--- 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_request_t *r,
(void) ngx_http_internal_redirect(r, &path, &args);
}
+ ngx_http_finalize_request(r, NGX_DONE);
return NGX_OK;
}