]> git.kaiwu.me - nginx.git/commitdiff
fix request counter for post_action, the bug was introduced in r3050
authorIgor Sysoev <igor@sysoev.ru>
Mon, 21 Sep 2009 18:34:22 +0000 (18:34 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 21 Sep 2009 18:34:22 +0000 (18:34 +0000)
src/http/ngx_http_request.c

index 25b2aff74da2465b9eeb04aed4475a2e2ccab464..07afe676df8a0bd3f561320199e7912f5dd79707 100644 (file)
@@ -2820,6 +2820,8 @@ ngx_http_post_action(ngx_http_request_t *r)
     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
                    "post action: \"%V\"", &clcf->post_action);
 
+    r->main->count--;
+
     r->http_version = NGX_HTTP_VERSION_9;
     r->header_only = 1;
     r->post_action = 1;