From: Igor Sysoev Date: Mon, 21 Sep 2009 18:34:22 +0000 (+0000) Subject: fix request counter for post_action, the bug was introduced in r3050 X-Git-Tag: release-0.8.16~3 X-Git-Url: http://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=7386cf58a770d2c875ad39a1e981466c81ec8893;p=nginx.git fix request counter for post_action, the bug was introduced in r3050 --- diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 25b2aff74..07afe676d 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -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;