diff src/http/ngx_http_request.c @ 388:8815ae9c367b NGINX_0_6_38

nginx 0.6.38 *) Feature: the "keepalive_requests" directive.
author Igor Sysoev <http://sysoev.ru>
date Mon, 22 Jun 2009 00:00:00 +0400
parents 09b703ae3ba5
children
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -253,6 +253,8 @@ ngx_http_init_request(ngx_event_t *rev)
         return;
     }
 
+    c->requests++;
+
     hc = c->data;
 
     if (hc == NULL) {