# HG changeset patch # User Igor Sysoev # Date 1253558062 0 # Node ID 9160a117a46a3b76ca722652c70a77722508b486 # Parent ecbfc3396c422735c396c78995431ac8250cd516 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 --- 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 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;