]> git.kaiwu.me - nginx.git/commitdiff
we do not need to increase request counter in this place,
authorIgor Sysoev <igor@sysoev.ru>
Mon, 28 Sep 2009 11:12:45 +0000 (11:12 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 28 Sep 2009 11:12:45 +0000 (11:12 +0000)
the bug had appeared in r3115

src/http/ngx_http_core_module.c

index a671e2eed5674ce02fd1d778a1d50cbfd7d60079..19d088160f7eff6ddfdcb51f633655e072f08a0c 100644 (file)
@@ -994,7 +994,6 @@ ngx_http_core_post_rewrite_phase(ngx_http_request_t *r,
                       "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;
     }