From 630ad0c7b17b4e20d978706d3884995481f28b3c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 16 Apr 2004 05:14:16 +0000 Subject: nginx-0.0.3-2004-04-16-09:14:16 import --- src/core/ngx_cycle.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/ngx_cycle.c') diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c index 71a0b0080..94414ae12 100644 --- a/src/core/ngx_cycle.c +++ b/src/core/ngx_cycle.c @@ -13,6 +13,8 @@ ngx_array_t ngx_old_cycles; static ngx_pool_t *ngx_temp_pool; static ngx_event_t ngx_cleaner_event; +ngx_uint_t ngx_test_config; + /* STUB NAME */ static ngx_connection_t dumb; @@ -263,7 +265,7 @@ ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle) } } - if (!failed) { + if (!ngx_test_config && !failed) { if (ngx_open_listening_sockets(cycle) == NGX_ERROR) { failed = 1; } -- cgit