aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_cycle.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-04-16 05:14:16 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-04-16 05:14:16 +0000
commit630ad0c7b17b4e20d978706d3884995481f28b3c (patch)
tree794f7617a06a007f98149fa11c1ebc92827c29a5 /src/core/ngx_cycle.c
parent68df19d33ac5cf804650261867afd5f8acdce364 (diff)
downloadnginx-630ad0c7b17b4e20d978706d3884995481f28b3c.tar.gz
nginx-630ad0c7b17b4e20d978706d3884995481f28b3c.zip
nginx-0.0.3-2004-04-16-09:14:16 import
Diffstat (limited to 'src/core/ngx_cycle.c')
-rw-r--r--src/core/ngx_cycle.c4
1 files changed, 3 insertions, 1 deletions
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;
}