Mercurial > hg > nginx
diff src/core/ngx_cycle.c @ 318:56496082668b
nginx-0.0.3-2004-04-16-09:14:16 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 16 Apr 2004 05:14:16 +0000 |
parents | 1308b98496a2 |
children | d621239c30f7 |
line wrap: on
line diff
--- 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 } } - if (!failed) { + if (!ngx_test_config && !failed) { if (ngx_open_listening_sockets(cycle) == NGX_ERROR) { failed = 1; }