fix request counter for post_action, the bug was introduced in r3050

This commit is contained in:
Igor Sysoev 2009-09-21 18:34:22 +00:00
parent 7cb0e98803
commit 4a2799b5bf

View 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, ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
"post action: \"%V\"", &clcf->post_action); "post action: \"%V\"", &clcf->post_action);
r->main->count--;
r->http_version = NGX_HTTP_VERSION_9; r->http_version = NGX_HTTP_VERSION_9;
r->header_only = 1; r->header_only = 1;
r->post_action = 1; r->post_action = 1;