diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-09-21 18:34:22 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-09-21 18:34:22 +0000 |
commit | 7386cf58a770d2c875ad39a1e981466c81ec8893 (patch) | |
tree | 4ced10d58c588d85f46df3a92cb362e7eba69e49 /src/http/ngx_http_request.c | |
parent | 5b6b1fda1c7e5ad6b5713b157e57f9ee9196fa35 (diff) | |
download | nginx-7386cf58a770d2c875ad39a1e981466c81ec8893.tar.gz nginx-7386cf58a770d2c875ad39a1e981466c81ec8893.zip |
fix request counter for post_action, the bug was introduced in r3050
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |