comparison src/http/ngx_http_core_module.c @ 3167:7d1f9a449603

we do not need to increase request counter in this place, the bug had appeared in r3115
author Igor Sysoev <igor@sysoev.ru>
date Mon, 28 Sep 2009 11:12:45 +0000
parents a7637c2c1157
children 975f0558aab3
comparison
equal deleted inserted replaced
3166:b208e383657d 3167:7d1f9a449603
992 if (r->uri_changes == 0) { 992 if (r->uri_changes == 0) {
993 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 993 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
994 "rewrite or internal redirection cycle " 994 "rewrite or internal redirection cycle "
995 "while processing \"%V\"", &r->uri); 995 "while processing \"%V\"", &r->uri);
996 996
997 r->main->count++;
998 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); 997 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
999 return NGX_OK; 998 return NGX_OK;
1000 } 999 }
1001 1000
1002 r->phase_handler = ph->next; 1001 r->phase_handler = ph->next;