Mercurial > hg > nginx-vendor-0-6
comparison 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 |
comparison
equal
deleted
inserted
replaced
387:837f381d298f | 388:8815ae9c367b |
---|---|
251 | 251 |
252 ngx_http_close_connection(c); | 252 ngx_http_close_connection(c); |
253 return; | 253 return; |
254 } | 254 } |
255 | 255 |
256 c->requests++; | |
257 | |
256 hc = c->data; | 258 hc = c->data; |
257 | 259 |
258 if (hc == NULL) { | 260 if (hc == NULL) { |
259 hc = ngx_pcalloc(c->pool, sizeof(ngx_http_connection_t)); | 261 hc = ngx_pcalloc(c->pool, sizeof(ngx_http_connection_t)); |
260 if (hc == NULL) { | 262 if (hc == NULL) { |