From c4f6d11856d0d5dbf1f02f107dd90f94fe70963d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 15 Jun 2009 08:43:10 +0000 Subject: merge r2889, r2918, and r2921: fix a pool growing and CPU usage for multi-requests keepalive connections: *) keepalive_requests *) try to reuse last 4 free large allocation links *) do not test a pool block space if we can not allocated from the block 4 times --- src/http/ngx_http_request.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http/ngx_http_request.c') diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index c9c6db729..4e799e96a 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -259,6 +259,8 @@ ngx_http_init_request(ngx_event_t *rev) return; } + c->requests++; + hc = c->data; if (hc == NULL) { -- cgit