summaryrefslogtreecommitdiff
path: root/src/core/ngx_cycle.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-04-04 12:50:30 +0000
committerJonathan Kolb <jon@b0g.us>2011-04-04 12:50:30 +0000
commitf241ce02a4e7971bf509ea005b4791812d54c522 (patch)
tree995761817026a7147e180731e9ccd2293326bfbb /src/core/ngx_cycle.c
parentbe28c50206ac6f3f1bbbede6a495f5d0b5abad70 (diff)
downloadnginx-0.9.tar.gz
Changes with nginx 0.9.7 04 Apr 2011v0.9.7nginx-0.9
*) 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.
Diffstat (limited to 'src/core/ngx_cycle.c')
-rw-r--r--src/core/ngx_cycle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c
index 357c6b284..79867079d 100644
--- a/src/core/ngx_cycle.c
+++ b/src/core/ngx_cycle.c
@@ -181,6 +181,9 @@ ngx_init_cycle(ngx_cycle_t *old_cycle)
cycle->listening.pool = pool;
+ ngx_queue_init(&cycle->reusable_connections_queue);
+
+
cycle->conf_ctx = ngx_pcalloc(pool, ngx_max_module * sizeof(void *));
if (cycle->conf_ctx == NULL) {
ngx_destroy_pool(pool);