# HG changeset patch # User Igor Sysoev # Date 1254136365 0 # Node ID 7d1f9a449603b1cfd80f7f5462280ff95388ad10 # Parent b208e383657dd9526d060462c8f32cbeab169eae we do not need to increase request counter in this place, the bug had appeared in r3115 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 @@ -994,7 +994,6 @@ ngx_http_core_post_rewrite_phase(ngx_htt "rewrite or internal redirection cycle " "while processing \"%V\"", &r->uri); - r->main->count++; ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); return NGX_OK; }