Mercurial > hg > nginx
changeset 3145:9160a117a46a
fix request counter for post_action, the bug was introduced in r3050
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 21 Sep 2009 18:34:22 +0000 |
parents | ecbfc3396c42 |
children | 29ba1de1ab0b |
files | src/http/ngx_http_request.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c Mon Sep 21 15:55:56 2009 +0000 +++ b/src/http/ngx_http_request.c Mon Sep 21 18:34:22 2009 +0000 @@ -2820,6 +2820,8 @@ 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;