comparison src/http/ngx_http_request.c @ 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 44ac242eb6ac
children 8bf534c7c998
comparison
equal deleted inserted replaced
3144:ecbfc3396c42 3145:9160a117a46a
2818 } 2818 }
2819 2819
2820 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 2820 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
2821 "post action: \"%V\"", &clcf->post_action); 2821 "post action: \"%V\"", &clcf->post_action);
2822 2822
2823 r->main->count--;
2824
2823 r->http_version = NGX_HTTP_VERSION_9; 2825 r->http_version = NGX_HTTP_VERSION_9;
2824 r->header_only = 1; 2826 r->header_only = 1;
2825 r->post_action = 1; 2827 r->post_action = 1;
2826 2828
2827 r->read_event_handler = ngx_http_block_reading; 2829 r->read_event_handler = ngx_http_block_reading;