Mercurial > hg > nginx-vendor-current
comparison src/core/ngx_cycle.c @ 618: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 | 6c96fdd2dfc3 |
children | 23ef0645ea57 |
comparison
equal
deleted
inserted
replaced
617:fcda3d3eb4ff | 618:b9763778e212 |
---|---|
179 cycle->listening.size = sizeof(ngx_listening_t); | 179 cycle->listening.size = sizeof(ngx_listening_t); |
180 cycle->listening.nalloc = n; | 180 cycle->listening.nalloc = n; |
181 cycle->listening.pool = pool; | 181 cycle->listening.pool = pool; |
182 | 182 |
183 | 183 |
184 ngx_queue_init(&cycle->reusable_connections_queue); | |
185 | |
186 | |
184 cycle->conf_ctx = ngx_pcalloc(pool, ngx_max_module * sizeof(void *)); | 187 cycle->conf_ctx = ngx_pcalloc(pool, ngx_max_module * sizeof(void *)); |
185 if (cycle->conf_ctx == NULL) { | 188 if (cycle->conf_ctx == NULL) { |
186 ngx_destroy_pool(pool); | 189 ngx_destroy_pool(pool); |
187 return NULL; | 190 return NULL; |
188 } | 191 } |