Mercurial > hg > nginx-mail
comparison src/http/ngx_http_request.c @ 661:b9763778e212 NGINX_0_9_7
nginx 0.9.7
*) Feature: now keepalive connections may be closed premature, if there
are no free worker connections.
Thanks to Maxim Dounin.
*) Feature: the "rotate" parameter of the "image_filter" directive.
Thanks to Adam Bocim.
*) Bugfix: a case when a backend in "fastcgi_pass", "scgi_pass", or
"uwsgi_pass" directives is given by expression and refers to a
defined upstream.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 04 Apr 2011 00:00:00 +0400 |
parents | ce857f6b74a7 |
children |
comparison
equal
deleted
inserted
replaced
660:fcda3d3eb4ff | 661:b9763778e212 |
---|---|
2592 /* if ngx_http_request_t was freed then we need some other place */ | 2592 /* if ngx_http_request_t was freed then we need some other place */ |
2593 r->http_state = NGX_HTTP_KEEPALIVE_STATE; | 2593 r->http_state = NGX_HTTP_KEEPALIVE_STATE; |
2594 #endif | 2594 #endif |
2595 | 2595 |
2596 c->idle = 1; | 2596 c->idle = 1; |
2597 ngx_reusable_connection(c, 1); | |
2597 | 2598 |
2598 if (rev->ready) { | 2599 if (rev->ready) { |
2599 ngx_post_event(rev, &ngx_posted_events); | 2600 ngx_post_event(rev, &ngx_posted_events); |
2600 } | 2601 } |
2601 } | 2602 } |
2701 | 2702 |
2702 c->log->handler = ngx_http_log_error; | 2703 c->log->handler = ngx_http_log_error; |
2703 c->log->action = "reading client request line"; | 2704 c->log->action = "reading client request line"; |
2704 | 2705 |
2705 c->idle = 0; | 2706 c->idle = 0; |
2707 ngx_reusable_connection(c, 0); | |
2706 | 2708 |
2707 ngx_http_init_request(rev); | 2709 ngx_http_init_request(rev); |
2708 } | 2710 } |
2709 | 2711 |
2710 | 2712 |